Skip to content

Commit

Permalink
ci: don't run deploy job on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Aug 10, 2022
1 parent 97f8faf commit 2022752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
release:
name: Deploy
needs: [ lint, test, test_graalvm, test_multiarch ]
if: github.ref == 'refs/heads/master' # only perform on latest master
if: github.repository_owner == 'xerial' && github.ref == 'refs/heads/master' # only perform on latest master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 2022752

Please sign in to comment.