Skip to content

Commit

Permalink
🔨: set checkpoint egress policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Jan 13, 2024
1 parent 57b284e commit b2bd306
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/dev-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ jobs:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
disable-sudo: true
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
oziproject.dev:443
pypi.org:443
registry.npmjs.org:443
- uses: OZI-Project/checkpoint@52b74310d31ed92dbc8193d3d2a1027373cf64da
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/dist-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,14 @@ jobs:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
disable-sudo: true
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
oziproject.dev:443
pypi.org:443
registry.npmjs.org:443
- uses: OZI-Project/checkpoint@52b74310d31ed92dbc8193d3d2a1027373cf64da
with:
Expand Down
9 changes: 8 additions & 1 deletion ozi/templates/github_workflows/checkpoint.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
disable-sudo: true
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
oziproject.dev:443
pypi.org:443
registry.npmjs.org:443

- uses: OZI-Project/checkpoint@52b74310d31ed92dbc8193d3d2a1027373cf64da
with:
Expand Down

0 comments on commit b2bd306

Please sign in to comment.