From 96a5bcc4a613b24a9a7d5d233927d5077f7a8305 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Sun, 14 Jul 2024 16:05:05 -0400 Subject: [PATCH] workflows/sync-shared-config: fix PR creation --- .github/workflows/sync-shared-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-shared-config.yml b/.github/workflows/sync-shared-config.yml index 6d3d708b..e710611c 100644 --- a/.github/workflows/sync-shared-config.yml +++ b/.github/workflows/sync-shared-config.yml @@ -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