Skip to content

Commit 6156151

Browse files
authored
CI: turn on block mode for Harden-Runner
1 parent 8094f3e commit 6156151

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ jobs:
2222
steps:
2323
- uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594
2424
with:
25-
egress-policy: audit
25+
egress-policy: block
26+
disable-telemetry: true
27+
allowed-endpoints: >
28+
api.github.com:443
29+
github.com:443
30+
repo.maven.apache.org:443
31+
168.63.129.16
32+
azure.archive.ubuntu.com
33+
download.eclipse.org:443
34+
esm.ubuntu.com:443
2635
- uses: actions/checkout@v4
2736
- name: Install Webkit + GTK bindings
2837
run: sudo apt update -yq && sudo apt-get install -yq libwebkit2gtk-4.0-dev

0 commit comments

Comments
 (0)