Skip to content

Commit

Permalink
ci(merge-queue): add required trigger for github actions (#4998)
Browse files Browse the repository at this point in the history
### Description

Adds the required trigger for Github Action Merge Queue:
[docs](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions).

### Test plan

- Test in CI.

### Related issues

N/A

### Backwards compatibility

Yes

### Network scalability

N/A
  • Loading branch information
MuckT committed Feb 28, 2024
1 parent 991c74a commit 48c9909
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on:
push:
branches:
- main
# ..and any pull request.
# ..any pull request, workflow dispatch and merge queue
pull_request:
workflow_dispatch:
merge_group:
# Cron job to run checks @ 8:30 pm daily on the latest commit on the default branch - main
schedule:
- cron: '30 20 * * *'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
branches:
- main
merge_group:

# Cancel any in progress run of the workflow for a given PR
# This avoids building outdated code
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/semantic-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- reopened
- edited
- synchronize
merge_group:

jobs:
semantic-pr-title:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ on:
push:
branches:
- main
# ..and any pull request.
# ..any pull request and merge queue
pull_request:
merge_group:

# Cancel any in progress run of the workflow for a given PR
# This avoids building outdated code
Expand Down

0 comments on commit 48c9909

Please sign in to comment.