Skip to content

Commit a51837f

Browse files
Pre-commit CI Job doesn't need restricted egress
1 parent 5c7f53c commit a51837f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/_pre_commit.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
2323
with:
2424
disable-sudo: true
25-
egress-policy: block
26-
allowed-endpoints: >
27-
api.github.com:443
28-
files.pythonhosted.org:443
29-
github.com:443
30-
proxy.golang.org:443
31-
pypi.org:443
32-
registry.npmjs.org:443
25+
egress-policy: audit
26+
# allowed-endpoints: >
27+
# api.github.com:443
28+
# files.pythonhosted.org:443
29+
# github.com:443
30+
# proxy.golang.org:443
31+
# pypi.org:443
32+
# registry.npmjs.org:443
3333
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3535
with:

0 commit comments

Comments
 (0)