Skip to content

Commit

Permalink
workflows/sync-shared-config: fix PR creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Jul 14, 2024
1 parent 16093e5 commit 96a5bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync-shared-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
cd target/${{ matrix.repo }}
git checkout -b sync-shared-config
if !gh pr view sync-shared-config
if ! gh pr view sync-shared-config
then
gh pr create --head sync-shared-config --title "Synchronize shared configuration" --body 'This pull request was created automatically by the [`sync-shared-config`](https://github.com/Homebrew/.github/blob/HEAD/.github/actions/sync/shared-config.rb) workflow.'
fi
Expand Down

0 comments on commit 96a5bcc

Please sign in to comment.