Skip to content

Commit eace94d

Browse files
[Internal] Trigger the validate workflow in the merge queue (#709)
## Changes Trigger the validate workflow in the merge queue
1 parent 3009a6b commit eace94d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/message.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ name: Validate Commit Message
33
on:
44
pull_request:
55
types: [opened, synchronize, edited]
6+
merge_group:
7+
types: [checks_requested]
68

79
jobs:
8-
910
validate:
1011
runs-on: ubuntu-latest
12+
# GitHub required checks are shared between PRs and the Merge Queue.
13+
# Since there is no PR title on Merge Queue, we need to trigger and
14+
# skip this test for Merge Queue to succeed.
15+
if: github.event_name == 'pull_request'
1116
steps:
1217
- name: Checkout
1318
uses: actions/checkout@v3

0 commit comments

Comments
 (0)