Skip to content

Commit c3d8b0b

Browse files
committed
chore(security): pinning GH actions to hashes
1 parent c2cce77 commit c3d8b0b

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/actions/get-release-notes/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121
using: composite
2222

2323
steps:
24-
- uses: actions/github-script@v7
24+
- uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # pin@v7.1.0
2525
id: get_release_notes
2626
with:
2727
result-encoding: string

.github/actions/maven-publish/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818

1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # pin@v4.4.0
2222

2323
- name: Set up Java
2424
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # pin@v4

.github/actions/release-create/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
using: composite
3232

3333
steps:
34-
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
34+
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # pin@v1
3535
with:
3636
body: ${{ inputs.body }}
3737
name: ${{ inputs.name }}

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
using: composite
2020

2121
steps:
22-
- uses: actions/setup-java@v4
22+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # pin@v4.9.1
2323
with:
2424
distribution: temurin
2525
java-version: ${{ inputs.java }}

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
3737

3838
- name: Checkout
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # pin@v4.4.0
4040

4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v4.37.5
42+
uses: github/codeql-action/init@d1ba80a13dd99fba24a470575428917156a28b43 # pin@v4.37.5
4343
with:
4444
languages: ${{ matrix.language }}
4545
queries: +security-and-quality
4646

4747
- name: Autobuild
48-
uses: github/codeql-action/autobuild@v4.37.5
48+
uses: github/codeql-action/autobuild@d1ba80a13dd99fba24a470575428917156a28b43 # pin@v4.37.5
4949

5050
- name: Perform CodeQL Analysis
51-
uses: github/codeql-action/analyze@v4.37.5
51+
uses: github/codeql-action/analyze@d1ba80a13dd99fba24a470575428917156a28b43 # pin@v4.37.5
5252
with:
5353
category: "/language:${{ matrix.language }}"

.github/workflows/release.yml

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

1919
steps:
2020
# Checkout the code
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # pin@v4.4.0
2222
with:
2323
fetch-depth: 0
2424

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828

2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # pin@v4.4.0
3131

3232
- uses: ./.github/actions/setup
3333

0 commit comments

Comments
 (0)