Skip to content

Commit

Permalink
[Internal] Trigger the validate workflow in the merge queue (#986)
Browse files Browse the repository at this point in the history
## Changes

PRs in the merge queue are currently unable to be merged (and thus
dequeued) because the `validate` workflow is not triggered. This PR
fixes the problem by adding the missing triggering event.

<img width="790" alt="image"
src="https://github.com/user-attachments/assets/925601dc-4208-4b6f-a244-54ec2350b3e4">


See
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group

## Tests
<!-- 
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->

- [x] `make test` passing
- [x] `make fmt` applied
- [x] relevant integration tests applied
  • Loading branch information
renaudhartert-db authored Jul 17, 2024
1 parent 6253976 commit b55a992
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ name: Validate Commit Message
on:
pull_request:
types: [opened, synchronize, edited]
merge_group:
types: [checks_requested]

jobs:

validate:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit b55a992

Please sign in to comment.