mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-30 04:09:20 +09:00
ci(actions): correct pinned action version comments (#8832)
Several workflows pin actions by commit but label them with an older major version, such as '# v4' on checkout 3d3c42e5 (v7.0.1) and CodeQL 33d7b85d (v4.39.3). Update the comments to the tags those commits resolve to. The pinned commits do not change. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
This commit is contained in:
1 parent
a74d045733
commit
bdfe930b6c
8 files changed
+12
-12
No files matched your search
@@ -43,7 +43,7 @@ runs:
|
||||
run: echo "directory=$(composer config --global cache-files-dir)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Cache downloaded Composer archives
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.0.0
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ${{ steps.cache.outputs.directory }}
|
||||
key: ${{ runner.os }}-plugin-composer-${{ hashFiles(format('{0}/composer.lock', inputs.cacti-directory)) }}-${{ steps.paths.outputs.harness-lock }}
|
||||
|
||||
@@ -35,12 +35,12 @@ jobs:
|
||||
language: ["javascript-typescript", "python"]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Setup Node for managed JavaScript
|
||||
if: matrix.language == 'javascript-typescript'
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v4
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version-file: .nvmrc
|
||||
cache: npm
|
||||
@@ -52,10 +52,10 @@ jobs:
|
||||
npm ci --ignore-scripts
|
||||
npm run postinstall --ignore-scripts
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v3
|
||||
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v3
|
||||
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
|
||||
with:
|
||||
category: "/language:${{ matrix.language }}"
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
install-args: --prefer-dist --no-progress --no-interaction
|
||||
|
||||
- name: Setup Node 22
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # 4.4.0
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: '22'
|
||||
cache: npm
|
||||
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
install-args: --prefer-dist --no-progress --no-interaction
|
||||
|
||||
- name: Setup Node 22
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # 4.4.0
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
# no dist shasums, so a cached Composer zip could not be verified before
|
||||
# it lands in an attested tarball. Download everything fresh instead.
|
||||
- name: Setup Node.js release toolchain
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v4.4.0
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: '22'
|
||||
package-manager-cache: false
|
||||
|
||||
@@ -104,7 +104,7 @@ jobs:
|
||||
|
||||
- name: Set up Node
|
||||
if: matrix.ecosystem == 'npm'
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v4.4.0
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Checkout develop
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: develop
|
||||
# Required only for pushing the dedicated automation branch below.
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
PSALM_PHAR_SHA256: '7ace71e4f698466e7e16810679a1895ea623060579aff46fcf9fd0f1c09abe00'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
||||
Reference in new issue
Block a user