Skip to content

Commit 5c843be

Browse files
Pin GitHub Actions dependencies by commit hash (#482)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
1 parent 8113e51 commit 5c843be

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ jobs:
5252

5353
steps:
5454
- name: Checkout repository
55-
uses: actions/checkout@v6
55+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
5656

57-
- uses: actions/setup-java@v5
57+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
5858
with:
5959
distribution: 'temurin'
6060
java-version: '25'
6161

6262
# Initializes the CodeQL tools for scanning.
6363
# Uses custom configuration file to exclude test directories from analysis.
6464
- name: Initialize CodeQL
65-
uses: github/codeql-action/init@v4
65+
uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4
6666
with:
6767
languages: ${{ matrix.language }}
6868
config-file: ./.github/codeql-config.yml
@@ -77,7 +77,7 @@ jobs:
7777
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
7878
# If this step fails, then you should remove it and run the build manually (see below)
7979
- name: Autobuild
80-
uses: github/codeql-action/autobuild@v4
80+
uses: github/codeql-action/autobuild@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4
8181

8282
# ℹ️ Command-line programs to run using the OS shell.
8383
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -90,6 +90,6 @@ jobs:
9090
# ./location_of_script_within_repo/buildscript.sh
9191

9292
- name: Perform CodeQL Analysis
93-
uses: github/codeql-action/analyze@v4
93+
uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4
9494
with:
9595
category: "/language:${{matrix.language}}"

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
# If you do not check out your code, Copilot will do this for you.
3131
steps:
3232
- name: Checkout code
33-
uses: actions/checkout@v6
33+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3434

3535
- name: Set up JDK 25
36-
uses: actions/setup-java@v5
36+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
3737
with:
3838
java-version: "25"
3939
distribution: "temurin"

.github/workflows/dependabot-auto-approve-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- name: Get Dependabot metadata
1818
id: metadata
19-
uses: dependabot/fetch-metadata@v2
19+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2
2020
with:
2121
github-token: ${{ github.token }}
2222

.github/workflows/manual-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ jobs:
104104
run: |
105105
echo "Manual draft release for tag: ${{ steps.release.outputs.tag_name }}"
106106
107-
- uses: actions/create-github-app-token@v2
107+
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
108108
id: app-token
109109
with:
110110
app-id: ${{ secrets.APP_ID }}
111111
private-key: ${{ secrets.APP_PRIVATE_KEY }}
112112

113113
- name: Checkout target commitish with full history (needed to commit & tag)
114-
uses: actions/checkout@v6
114+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
115115
with:
116116
ref: ${{ steps.release.outputs.target_commitish }}
117117
token: ${{ steps.app-token.outputs.token }}
@@ -141,7 +141,7 @@ jobs:
141141
echo "Tag $TAG_NAME does not exist. Proceeding with release."
142142
143143
- name: Set up JDK 25
144-
uses: actions/setup-java@v5
144+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
145145
with:
146146
java-version: "25"
147147
distribution: "temurin"

.github/workflows/maven_pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v6
14+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
1515
- name: Set up JDK 25
16-
uses: actions/setup-java@v5
16+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
1717
with:
1818
java-version: "25"
1919
distribution: "temurin"

.github/workflows/maven_push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v6
14+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
1515
with:
1616
fetch-depth: 0
1717
- name: Set up JDK 25
18-
uses: actions/setup-java@v5
18+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
1919
with:
2020
java-version: "25"
2121
distribution: "temurin"
@@ -35,4 +35,4 @@ jobs:
3535

3636
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
3737
- name: Update dependency graph
38-
uses: advanced-security/maven-dependency-submission-action@v5
38+
uses: advanced-security/maven-dependency-submission-action@b275d12641ac2d2108b2cbb7598b154ad2f2cee8 # v5

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
pull-requests: write
1919

2020
steps:
21-
- uses: actions/stale@v10
21+
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10
2222
with:
2323
repo-token: ${{ secrets.GITHUB_TOKEN }}
2424
stale-issue-message: 'Stale issue message'

0 commit comments

Comments
 (0)