Skip to content

Commit

Permalink
Don't run release on forks (#731)
Browse files Browse the repository at this point in the history
issue #730
  • Loading branch information
ismisepaul committed Nov 28, 2022
1 parent 4651b00 commit 3e1f27f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -118,4 +118,4 @@ jobs:
TLS_KEYSTORE_FILE
TLS_KEYSTORE_PASS
ALIAS
HTTPS_PORT
HTTPS_PORT

0 comments on commit 3e1f27f

Please sign in to comment.