mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Restrict the release workflow to the sphinx-doc organisation
This commit is contained in:
2
.github/workflows/create-release.yml
vendored
2
.github/workflows/create-release.yml
vendored
@@ -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:
|
||||
@@ -72,6 +73,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:
|
||||
|
||||
Reference in New Issue
Block a user