diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 171086d2..871b24a0 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -26,6 +26,7 @@ jobs: files.pythonhosted.org:443 github.com:443 pypi.org:443 + tuf-repo-cdn.sigstore.dev:443 upload.pypi.org:443 - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/tag-testpypi.yml b/.github/workflows/tag-testpypi.yml index 9d9924da..c3af4808 100644 --- a/.github/workflows/tag-testpypi.yml +++ b/.github/workflows/tag-testpypi.yml @@ -19,7 +19,11 @@ jobs: - name: Harden Runner uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 with: - egress-policy: audit + disable-sudo: true + egress-policy: block + allowed-endpoints: > + api.github.com:443 + github.com:443 - name: Checkout code uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Create Release @@ -51,6 +55,7 @@ jobs: github.com:443 pypi.org:443 test.pypi.org:443 + tuf-repo-cdn.sigstore.dev:443 - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Python3