diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 55c4972..9672e60 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-latest name: PyPI Release environment: release + if: github.repository_owner == 'sphinx-doc' permissions: id-token: write # for PyPI trusted publishing steps: @@ -70,6 +71,7 @@ jobs: runs-on: ubuntu-latest name: GitHub release environment: release + if: github.repository_owner == 'sphinx-doc' permissions: contents: write # for softprops/action-gh-release to create GitHub release steps: