Skip to content

Commit e150502

Browse files
authored
Merge pull request #457 from muzimuzhi/ci/skip-pr-creation
Skip PR creation in the generate workflow in forks
2 parents b7d58f5 + 317260c commit e150502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ jobs:
4747
This PR was created by [this workflow run](https://github.com/rhysd/actionlint/actions/runs/${{ github.run_id }}) automatically.
4848
List of workflow runs is [here](https://github.com/rhysd/actionlint/actions/workflows/generate.yaml).
4949
assignees: rhysd
50-
if: ${{ steps.diff.outputs.pr == 'true' }}
50+
if: ${{ steps.diff.outputs.pr == 'true' && github.repository == 'rhysd/actionlint' }}

0 commit comments

Comments
 (0)