Skip to content

Commit

Permalink
chore: Avoid running release job on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
christophd committed Sep 29, 2022
1 parent 878fcd5 commit 28d19a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && github.repository == 'container-tools/snap'

steps:
- name: Checkout code
Expand Down

0 comments on commit 28d19a7

Please # to comment.