diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc8f060a5..551a94913 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ on: jobs: build: - if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' && github.repository == 'OWASP/SecurityShepherd' name: build runs-on: ubuntu-latest steps: @@ -73,7 +73,7 @@ jobs: release-security-shepherd: needs: build - if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' && github.repository == 'OWASP/SecurityShepherd' runs-on: ubuntu-latest steps: - name: Checkout @@ -118,4 +118,4 @@ jobs: TLS_KEYSTORE_FILE TLS_KEYSTORE_PASS ALIAS - HTTPS_PORT \ No newline at end of file + HTTPS_PORT