Skip to content

Commit 83cf316

Browse files
committed
chore: pin github actions
1 parent 9468856 commit 83cf316

10 files changed

+73
-73
lines changed

.github/workflows/codacy-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
steps:
3030
# Checkout the repository to the GitHub Actions runner
3131
- name: Checkout code
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333

3434
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
3535
- name: Run Codacy Analysis CLI
3636
continue-on-error: true
37-
uses: codacy/[email protected]
37+
uses: codacy/codacy-analysis-cli-action@97bf5df3c09e75f5bcd72695998f96ebd701846e # v4.4.5
3838
with:
3939
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
4040
# You can also omit the token and run the tools that support default configurations
@@ -51,6 +51,6 @@ jobs:
5151
# Upload the SARIF file generated in the previous step
5252
- name: Upload SARIF results file
5353
continue-on-error: true
54-
uses: github/codeql-action/upload-sarif@v3
54+
uses: github/codeql-action/upload-sarif@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
5555
with:
5656
sarif_file: results.sarif

.github/workflows/codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343

4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4747

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@v3
50+
uses: github/codeql-action/init@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
5151
with:
5252
languages: ${{ matrix.language }}
5353
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -61,7 +61,7 @@ jobs:
6161
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6262
# If this step fails, then you should remove it and run the build manually (see below)
6363
- name: Autobuild
64-
uses: github/codeql-action/autobuild@v3
64+
uses: github/codeql-action/autobuild@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
6565

6666
# ℹ️ Command-line programs to run using the OS shell.
6767
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -74,6 +74,6 @@ jobs:
7474
# ./location_of_script_within_repo/buildscript.sh
7575

7676
- name: Perform CodeQL Analysis
77-
uses: github/codeql-action/analyze@v3
77+
uses: github/codeql-action/analyze@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
7878
with:
7979
category: "/language:${{matrix.language}}"

.github/workflows/issue-comment-job-example.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
NUMBER: ${{ github.event.issue.number }}
2020
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
with:
2424
submodules: true
2525
fetch-depth: 0
@@ -104,7 +104,7 @@ jobs:
104104
NUMBER: ${{ github.event.issue.number }}
105105
106106
- name: Checkout
107-
uses: actions/checkout@v4
107+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
108108
with:
109109
submodules: true
110110
fetch-depth: 0

.github/workflows/manual-triggered-job-example.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
with:
2323
submodules: true
2424
fetch-depth: 0

.github/workflows/matrix-example.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix: ${{ steps.changed-files.outputs.all_changed_files }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
fetch-depth: 0
2323
- name: Get changed files
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
steps:
4141
- name: Checkout
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4343
- name: Test
4444
run: |
4545
echo ${{ matrix.files }}

.github/workflows/multi-job-example.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
with:
2424
fetch-depth: 0
2525
- name: Get changed files
@@ -45,7 +45,7 @@ jobs:
4545
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
4646
steps:
4747
- name: Checkout
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949
with:
5050
fetch-depth: 0
5151
- name: Get changed files

.github/workflows/sync-release-version.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
update-version:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717
with:
1818
fetch-depth: 0
1919
- name: Run release-tagger
20-
uses: tj-actions/release-tagger@v4
20+
uses: tj-actions/release-tagger@1a9264b0fd99a1ef92c4fd2f077f292900cc79b6 # v4.0.0
2121
- name: Sync release version.
22-
uses: tj-actions/sync-release-version@v13
22+
uses: tj-actions/sync-release-version@2c909a7cf69905388d998101c40edb26d0882ea2 # v13.12
2323
id: sync-release-version
2424
with:
2525
pattern: '${{ github.repository }}@'
@@ -28,17 +28,17 @@ jobs:
2828
paths: |
2929
README.md
3030
- name: Sync release package version.
31-
uses: tj-actions/sync-release-version@v13
31+
uses: tj-actions/sync-release-version@2c909a7cf69905388d998101c40edb26d0882ea2 # v13.12
3232
id: sync-release-package-version
3333
with:
3434
pattern: '"version": "'
3535
strip_prefix: "v"
3636
paths: |
3737
package.json
3838
- name: Run git-cliff
39-
uses: tj-actions/git-cliff@v1
39+
uses: tj-actions/git-cliff@75599f745633e29f99bd9e14a30865b7d2fcbe84 # v1.5.0
4040
- name: Create Pull Request
41-
uses: peter-evans/[email protected]
41+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
4242
with:
4343
base: "main"
4444
labels: "merge when passing"

0 commit comments

Comments
 (0)