From 3e1f27f3b5d4dad9a4d6b66872bd9fc53886183f Mon Sep 17 00:00:00 2001 From: Paul McCann Date: Mon, 28 Nov 2022 20:29:37 +0000 Subject: [PATCH] Don't run release on forks (#731) issue #730 --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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