Skip to content

Commit c188f97

Browse files
committed
Add message correctly
1 parent fc26358 commit c188f97

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/merge-to-main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
using a feature branch first, and only merge into the main
2727
branch when the code complete and ready to be released.
2828
29+
**Add the 'main-merge-ack' label to your PR to confirm
30+
merging into the main branch is intended.**
31+
2932
- name: Label checker
30-
if: !contains( github.event.pull_request.labels.*.name, 'main-merge-ack')
31-
run: exit 1
33+
if: "!contains( github.event.pull_request.labels.*.name, 'main-merge-ack')"
34+
run: |
35+
echo Missing 'main-merge-ack' label. Read the comment about merging to master in your PR for more information.
36+
exit 1
37+
38+
- name: Success
39+
run: exit 0

0 commit comments

Comments
 (0)