Skip to content

Commit 8060844

Browse files
authored
Merge pull request #216431 from Homebrew/bottle-commit-push
workflows/publish-commit-bottles: update workflow comment
2 parents fab2b1a + 39dad97 commit 8060844

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/publish-commit-bottles.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ env:
5353
ORG_FORK_MESSAGE: >-
5454
:no_entry: It looks like @BrewTestBot cannot push to your PR branch. Please open
5555
future pull requests from a non-organization fork to simplify the merge process.
56+
BOTTLE_COMMIT_PUSH_MESSAGE: >-
57+
Please **do not** push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from.
58+
If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.
5659
5760
jobs:
5861
check:
@@ -279,8 +282,14 @@ jobs:
279282
with:
280283
token: ${{secrets.GITHUB_TOKEN}}
281284
issue: ${{inputs.pull_request}}
282-
body: ":shipit: @${{github.actor}} has [requested bottles to be published to this PR](${{env.RUN_URL}})."
283-
bot_body: ":robot: An automated task has [requested bottles to be published to this PR](${{env.RUN_URL}})."
285+
body: |
286+
:shipit: @${{github.actor}} has [requested bottles to be published to this PR](${{env.RUN_URL}}).
287+
288+
${{env.BOTTLE_COMMIT_PUSH_MESSAGE}}
289+
bot_body: |
290+
:robot: An automated task has [requested bottles to be published to this PR](${{env.RUN_URL}}).
291+
292+
${{env.BOTTLE_COMMIT_PUSH_MESSAGE}}
284293
bot: github-actions[bot]
285294

286295
- name: Set up Homebrew

0 commit comments

Comments
 (0)