Skip to content

Commit 9f4d937

Browse files
committed
Pin 3rd party GH actions to commit SHA1 while keeping standard actions pointing to exact versions.
1 parent 6e4b2a4 commit 9f4d937

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ jobs:
3535
name: Spark ${{matrix.spark}} on Scala ${{matrix.scala}}
3636
steps:
3737
- name: Checkout code
38-
# gh api repos/actions/checkout/commits/v6.0.2 --jq '.sha'
39-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
38+
uses: actions/checkout@v6.0.2
4039
- name: Setup JDK
41-
# gh api repos/actions/setup-java/commits/v5.1.0 --jq '.sha'
42-
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e
40+
uses: actions/setup-java@v5.1.0
4341
with:
4442
distribution: temurin
4543
java-version: 8

.github/workflows/fossa.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/checkout@v6.0.2
2020

2121
- name: Run FOSSA scan and upload build data
22-
uses: fossa-contrib/fossa-action@v3.0.1
22+
# gh api repos/fossa-contrib/fossa-action/commits/v3.0.1 --jq '.sha'
23+
uses: fossa-contrib/fossa-action@3d2ef181b1820d6dcd1972f86a767d18167fa19b
2324
with:
2425
fossa-api-key: ${{secrets.FOSSA_API_KEY}}

.github/workflows/jacoco_check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
run: sbt ++${{matrix.scala}} jacoco -DSPARK_VERSION=${{matrix.spark}}
6161
- name: Add coverage of 'cobol-parser' to PR
6262
id: jacocoParser
63-
uses: madrapps/jacoco-report@v1.7.2
63+
# gh api repos/madrapps/jacoco-report/commits/v1.7.2 --jq '.sha'
64+
uses: madrapps/jacoco-report@50d3aff4548aa991e6753342d9ba291084e63848
6465
with:
6566
paths: >
6667
${{ github.workspace }}/cobol-parser/target/scala-${{ matrix.scalaShort }}/jacoco/report/jacoco.xml
@@ -75,7 +76,8 @@ jobs:
7576
echo "Changed Files coverage ${{ steps.jacoco.outputs.coverage-changed-files }}"
7677
- name: Add coverage of 'spark-cobol' to PR
7778
id: jacoco
78-
uses: madrapps/jacoco-report@v1.7.2
79+
# gh api repos/madrapps/jacoco-report/commits/v1.7.2 --jq '.sha'
80+
uses: madrapps/jacoco-report@50d3aff4548aa991e6753342d9ba291084e63848
7981
with:
8082
paths: >
8183
${{ github.workspace }}/spark-cobol/target/scala-${{ matrix.scalaShort }}/jacoco/report/jacoco.xml

0 commit comments

Comments
 (0)