Skip to content

Commit

Permalink
Merge pull request #1120 from burningmantech/wsanchez-patch-1
Browse files Browse the repository at this point in the history
Fix harden config
  • Loading branch information
wsanchez authored Feb 17, 2024
2 parents d5761ed + f9708c9 commit b72bae2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ jobs:
- name: Harden CI
uses: step-security/harden-runner@v2.7.0
with:
egress-policy: audit
disable-sudo: true
egress-policy: block
allowed-endpoints: >
ecs.us-west-2.amazonaws.com:443
files.pythonhosted.org:443
github.com:443
pypi.org:443
raw.githubusercontent.com:443
sts.us-west-2.amazonaws.com:443
- name: Check user
if: ${{ ! contains('["wsanchez", "mikeburg", "plapsley"]', github.actor) }}
Expand Down Expand Up @@ -72,7 +80,15 @@ jobs:
- name: Harden CI
uses: step-security/harden-runner@v2.7.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
ecs.us-west-2.amazonaws.com:443
files.pythonhosted.org:443
github.com:443
pypi.org:443
raw.githubusercontent.com:443
sts.us-west-2.amazonaws.com:443
- name: Check user
if: ${{ ! contains('["wsanchez", "mikeburg", "plapsley"]', github.actor) }}
Expand Down

0 comments on commit b72bae2

Please sign in to comment.