Skip to content

Commit

Permalink
Merge pull request #457 from muzimuzhi/ci/skip-pr-creation
Browse files Browse the repository at this point in the history
Skip PR creation in the generate workflow in forks
  • Loading branch information
rhysd authored Oct 17, 2024
2 parents b7d58f5 + 317260c commit e150502
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 e150502

Please sign in to comment.