Skip to content

Commit c7d8cf4

Browse files
authored
Merge pull request #229976 from Homebrew/pr-publish-branch
workflows: use `--branch=main` for `brew pr-publish`
2 parents 5045b13 + 4b9433b commit c7d8cf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/automerge-from-merge-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ jobs:
264264
cask: false
265265
test-bot: false
266266

267-
- run: brew pr-publish "$PR"
267+
- run: brew pr-publish --branch=main "$PR"
268268
env:
269269
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
270270
PR: ${{ needs.status-check.outputs.pull-number }}

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
cask: false
195195
test-bot: false
196196

197-
- run: brew pr-publish "$PR"
197+
- run: brew pr-publish --branch=main "$PR"
198198
env:
199199
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
200200
PR: ${{ needs.status-check.outputs.pull-number }}

0 commit comments

Comments
 (0)