Skip to content

Commit

Permalink
fix: Skip running job on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
yiannistri committed Oct 17, 2023
1 parent b954e44 commit 45b3734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
staging-release:
permissions:
statuses: write
if: github.event_name != 'push' && github.repository_owner == 'weaveworks'
if: ${{ github.event_name != 'push' && github.repository_owner == 'weaveworks' && !github.event.pull_request.head.repo.fork }}
runs-on: ubuntu-latest
defaults:
run:
Expand Down

0 comments on commit 45b3734

Please sign in to comment.