Skip to content

Commit 736c2a7

Browse files
jcchavezstanya732
andauthored
chore(security): uses pinned versions of actions (#876)
Co-authored-by: Tanya Sinha <sinha.tanya26@gmail.com>
1 parent dec2544 commit 736c2a7

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
gradle:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v6
14-
- uses: actions/setup-java@v5
13+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
14+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
1515
with:
1616
distribution: temurin
1717
java-version: 8
@@ -25,7 +25,7 @@ jobs:
2525
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
2626
with:
2727
flags: unittests
28-
- uses: actions/upload-artifact@v7
28+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
2929
with:
3030
name: Reports
3131
path: build/reports

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ jobs:
66
name: "validation/gradlew"
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v6
10-
- uses: gradle/actions/wrapper-validation@v6.1.0
9+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
10+
- uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0

.github/workflows/java-release.yml

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

3131
steps:
3232
# Checkout the code
33-
- uses: actions/checkout@v6
33+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3434
with:
3535
fetch-depth: 0
3636

.github/workflows/rl-scanner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131

3232
steps:
3333
- name: Checkout code
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3535

3636
- name: Set up Java
37-
uses: actions/setup-java@v5
37+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
3838
with:
3939
distribution: temurin
4040
java-version: ${{ inputs.java-version }}

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
3131
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.
3232

33-
- uses: actions/checkout@v6
33+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3434
with:
3535
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3636

0 commit comments

Comments
 (0)