Skip to content

Commit ffd5d46

Browse files
Switch Build job Harden Runner to block mode with observed egress
1 parent 0f17137 commit ffd5d46

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/_build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ jobs:
3030
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
3131
with:
3232
disable-sudo: true
33-
egress-policy: audit
33+
egress-policy: block
34+
allowed-endpoints: >
35+
files.pythonhosted.org:443
36+
github.com:443
37+
pypi.org:443
3438
3539
- name: Checkout repository
3640
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

0 commit comments

Comments
 (0)