Skip to content

Commit c8acf36

Browse files
🌱 .github: Audit CodeQL egress with harden-runner (#1728)
1 parent c8af71c commit c8acf36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ jobs:
4949
language: [ 'go','javascript' ]
5050

5151
steps:
52+
- name: Harden Runner
53+
uses: step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1
54+
with:
55+
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
56+
5257
- name: Checkout repository
5358
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v2.3.4
5459

0 commit comments

Comments
 (0)