Skip to content

Commit

Permalink
ci: do no run release script in forks (#261)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed May 10, 2021
1 parent 315d8ed commit 33c85ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ jobs:
release:
runs-on: ubuntu-20.04
name: Release
needs: [integration-test]
needs: [integration-test, validate]
# Only run on push or workflow dispatch to main branch
if: (github.ref == 'refs/heads/main') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
if: (github.ref == 'refs/heads/main' && github.repository == 'hyperledger/aries-framework-javascript') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
steps:
- name: Checkout aries-framework-javascript
uses: actions/checkout@v2
Expand Down

0 comments on commit 33c85ba

Please sign in to comment.