|
60 | 60 | outputs: |
61 | 61 | run: ${{ steps.check.outputs.run }} |
62 | 62 | steps: |
| 63 | + - name: Harden the runner (egress audit) |
| 64 | + uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 |
| 65 | + with: |
| 66 | + egress-policy: audit |
| 67 | + |
63 | 68 | - name: Check if should run on PR push |
64 | 69 | id: check |
65 | 70 | env: |
@@ -104,6 +109,12 @@ jobs: |
104 | 109 | architecture: x86_64 |
105 | 110 |
|
106 | 111 | steps: |
| 112 | + - name: Harden the runner (egress audit) |
| 113 | + if: runner.os == 'Linux' |
| 114 | + uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 |
| 115 | + with: |
| 116 | + egress-policy: audit |
| 117 | + |
107 | 118 | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
108 | 119 | with: |
109 | 120 | persist-credentials: false |
@@ -267,6 +278,12 @@ jobs: |
267 | 278 | os: macos-latest |
268 | 279 | architecture: aarch64 |
269 | 280 | steps: |
| 281 | + - name: Harden the runner (egress audit) |
| 282 | + if: runner.os == 'Linux' |
| 283 | + uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 |
| 284 | + with: |
| 285 | + egress-policy: audit |
| 286 | + |
270 | 287 | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
271 | 288 | with: |
272 | 289 | persist-credentials: false |
@@ -346,6 +363,11 @@ jobs: |
346 | 363 | needs.test_binaries.result == 'success' |
347 | 364 | runs-on: ubuntu-latest |
348 | 365 | steps: |
| 366 | + - name: Harden the runner (egress audit) |
| 367 | + uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 |
| 368 | + with: |
| 369 | + egress-policy: audit |
| 370 | + |
349 | 371 | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
350 | 372 | with: |
351 | 373 | persist-credentials: false |
@@ -475,6 +497,11 @@ jobs: |
475 | 497 | needs.test_binaries.result == 'success' |
476 | 498 | runs-on: ubuntu-latest |
477 | 499 | steps: |
| 500 | + - name: Harden the runner (egress audit) |
| 501 | + uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 |
| 502 | + with: |
| 503 | + egress-policy: audit |
| 504 | + |
478 | 505 | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
479 | 506 | with: |
480 | 507 | ref: ${{ inputs.sha || github.sha }} |
|
0 commit comments