Skip to content

Commit 1a14160

Browse files
committed
Update workflow
1 parent 74ad765 commit 1a14160

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ env:
66
permissions: read-all
77

88
on:
9-
push:
10-
branches: [ "main" ]
11-
pull_request:
12-
branches: [ "main" ]
139
schedule:
1410
- cron: '0 0 * * *' # once in a day at 00:00
1511
workflow_dispatch:
@@ -25,6 +21,11 @@ jobs:
2521
fail-fast: false
2622

2723
steps:
24+
- name: Harden the runner (Audit all outbound calls)
25+
uses: step-security/harden-runner@v2
26+
with:
27+
egress-policy: audit
28+
2829
- name: Checkout repository
2930
uses: actions/checkout@v3
3031

0 commit comments

Comments
 (0)