Skip to content

Commit

Permalink
.github/workflows/release.yml: disable workflow for forked repos
Browse files Browse the repository at this point in the history
Only run job "pypi-publish" when repo is ceph/ceph-nvmeof,
skip for forks (because authenticaton will fail in forks).

Signed-off-by: Vallari Agrawal <[email protected]>
  • Loading branch information
VallariAg committed Jul 26, 2024
1 parent 4006d19 commit 8cbac78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ env:
jobs:
pypi-publish:
name: Upload release to PyPI
if: github.repository == 'ceph/ceph-nvmeof'
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down

0 comments on commit 8cbac78

Please sign in to comment.