Allow pypi.org for test uploads for installs

This commit is contained in:
Hynek Schlawack 2022-12-19 15:22:42 +01:00
parent fcf5f343c1
commit d80cee82d1
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
1 changed files with 2 additions and 0 deletions

View File

@ -23,9 +23,11 @@ jobs:
uses: step-security/harden-runner@v2 uses: step-security/harden-runner@v2
with: with:
egress-policy: block egress-policy: block
# Need the real pypi.org for installations.
allowed-endpoints: > allowed-endpoints: >
files.pythonhosted.org:443 files.pythonhosted.org:443
github.com:443 github.com:443
pypi.org:443
test.pypi.org:443 test.pypi.org:443
- uses: actions/checkout@v3 - uses: actions/checkout@v3