Skip to content

Commit 61609be

Browse files
feat(ci): harden GitHub Actions (#985)
[StepSecurity] ci: Harden GitHub Actions Signed-off-by: StepSecurity Bot <[email protected]>
1 parent 9a36195 commit 61609be

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/check-catalog-info.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ jobs:
99
check-catalog-info-drift:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Harden the runner (Audit all outbound calls)
13+
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
14+
with:
15+
egress-policy: audit
16+
1217
- name: Checkout
1318
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1419
with:

.github/workflows/reusable-zizmor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ jobs:
7777
sha: ${{ steps.get-job-workflow-ref.outputs.sha }}
7878

7979
steps:
80+
- name: Harden the runner (Audit all outbound calls)
81+
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
82+
with:
83+
egress-policy: audit
84+
8085
- id: setup-node
8186
name: Setup node.js
8287
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0

.github/workflows/test-remove-checkout-credentials.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
test:
2828
runs-on: ubuntu-latest
2929
steps:
30+
- name: Harden the runner (Audit all outbound calls)
31+
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
32+
with:
33+
egress-policy: audit
34+
3035
- name: Checkout code
3136
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3237
with:

0 commit comments

Comments
 (0)