Skip to content

Commit 33a16a2

Browse files
committed
feat: add steps to harden runner and checkout in build workflow
1 parent 9d32f52 commit 33a16a2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ jobs:
1212
timeout-minutes: 30
1313

1414
steps:
15+
- name: Harden the runner (Audit all outbound calls)
16+
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
17+
with:
18+
egress-policy: audit
19+
20+
- name: Checkout
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
with:
23+
fetch-depth: 1
24+
1525
- name: Build & Cache Web Binaries
1626
uses: ./.github/actions/cache-build-web
1727
id: cache-build-web

0 commit comments

Comments
 (0)