Skip to content

Commit

Permalink
skip PR creation step in the generate workflow in forks
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Oct 12, 2024
1 parent 3542f38 commit 317260c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
This PR was created by [this workflow run](https://github.com/rhysd/actionlint/actions/runs/${{ github.run_id }}) automatically.
List of workflow runs is [here](https://github.com/rhysd/actionlint/actions/workflows/generate.yaml).
assignees: rhysd
if: ${{ steps.diff.outputs.pr == 'true' }}
if: ${{ steps.diff.outputs.pr == 'true' && github.repository == 'rhysd/actionlint' }}

0 comments on commit 317260c

Please sign in to comment.