File tree Expand file tree Collapse file tree 4 files changed +38
-10
lines changed Expand file tree Collapse file tree 4 files changed +38
-10
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,21 @@ name: Testing For PRs
55
66on : [ pull_request ]
77
8+ permissions :
9+ contents : read
10+
811jobs :
912 test :
1013 runs-on : ubuntu-latest
1114 steps :
12- - uses : actions/checkout@v4
15+ - name : Harden the runner (Audit all outbound calls)
16+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
17+ with :
18+ egress-policy : audit
19+
20+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1321 - name : Set up JDK
14- uses : actions/setup-java@v4
22+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
1523 with :
1624 java-version : 17
1725 distribution : temurin
Original file line number Diff line number Diff line change @@ -20,11 +20,16 @@ jobs:
2020 GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
2121 PRERELEASE : " ${{ github.event.inputs.prerelease }}"
2222 steps :
23- - uses : actions/checkout@v4
23+ - name : Harden the runner (Audit all outbound calls)
24+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
25+ with :
26+ egress-policy : audit
27+
28+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2429 with :
2530 fetch-depth : 0
2631 - name : Set up JDK
27- uses : actions/setup-java@v4
32+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
2833 with :
2934 java-version : 17
3035 distribution : temurin
Original file line number Diff line number Diff line change 1111 test :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v4
14+ - name : Harden the runner (Audit all outbound calls)
15+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
16+ with :
17+ egress-policy : audit
18+
19+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1520 - name : Set up JDK
16- uses : actions/setup-java@v4
21+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
1722 with :
1823 java-version : 17
1924 distribution : temurin
@@ -26,11 +31,16 @@ jobs:
2631 GITHUB_USER : " tomzo"
2732 GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
2833 steps :
29- - uses : actions/checkout@v4
34+ - name : Harden the runner (Audit all outbound calls)
35+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
36+ with :
37+ egress-policy : audit
38+
39+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3040 with :
3141 fetch-depth : 0
3242 - name : Set up JDK
33- uses : actions/setup-java@v4
43+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
3444 with :
3545 java-version : 17
3646 distribution : temurin
Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v4
13+ - name : Harden the runner (Audit all outbound calls)
14+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
15+ with :
16+ egress-policy : audit
17+
18+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1419
1520 - name : Update Gradle Wrapper
16- uses : gradle-update/update-gradle-wrapper-action@v2
21+ uses : gradle-update/update-gradle-wrapper-action@512b1875f3b6270828abfe77b247d5895a2da1e5 # v2.1.0
1722 with :
1823 labels : dependencies
You can’t perform that action at this time.
0 commit comments