From 8cbac78b8d0e727e80f735a3bdb8067146314cdd Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Fri, 26 Jul 2024 12:28:01 +0530 Subject: [PATCH] .github/workflows/release.yml: disable workflow for forked repos 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 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a584f9cd..39faeb1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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