diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1ab4163..68092315 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ on: jobs: publish-release: runs-on: ubuntu-22.04 + if: github.repository == 'secureCodeBox/defectdojo-client-java' permissions: contents: write # needed for release creation steps: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index aa009c78..8676e538 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -14,6 +14,7 @@ on: jobs: publish-snapshot: runs-on: ubuntu-22.04 + if: github.repository == 'secureCodeBox/defectdojo-client-java' steps: - name: Checkout repository