Skip to content

Commit

Permalink
Drop harden-runner
Browse files Browse the repository at this point in the history
Hostnames are too unpredictable.
  • Loading branch information
hynek committed Apr 16, 2023
1 parent da15a71 commit c8dc77e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: block

- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: step-security/harden-runner@v2
with:
disable-sudo: true
egress-policy: audit

- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand All @@ -42,13 +37,6 @@ jobs:
needs: build-package

steps:
- uses: step-security/harden-runner@v2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
test.pypi.org:443
- name: Download packages built by build-and-inspect-python-package
uses: actions/download-artifact@v3
with:
Expand All @@ -70,13 +58,6 @@ jobs:
needs: build-package

steps:
- uses: step-security/harden-runner@v2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
upload.pypi.org:443
- name: Download packages built by build-and-inspect-python-package
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit c8dc77e

Please sign in to comment.