Skip to content

Commit

Permalink
Run CI on merge_group events, to allow for GitHub Merge Queue
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge committed Feb 6, 2024
1 parent bb12998 commit 09ff658
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/checkin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "PR Checks"
on: [pull_request, push]
on:
push:
pull_request:
merge_group: # Needed for GitHub Merge Queue

concurrency:
# Skip intermediate builds: all builds except for builds on the `master`, `main`, or `release-*` branches
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
merge_group: # Needed for GitHub Merge Queue
schedule:
- cron: '32 22 * * 6'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/example-builds-defaultarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
push:
branches: ['main', 'master', 'releases/*']
pull_request:
merge_group: # Needed for GitHub Merge Queue
workflow_dispatch:

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/example-builds-nightly-defaultarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
push:
branches: ['main', 'master', 'releases/*']
pull_request:
merge_group: # Needed for GitHub Merge Queue

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/example-builds-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
push:
branches: ['main', 'master', 'releases/*']
pull_request:
merge_group: # Needed for GitHub Merge Queue
schedule:
- cron: '37 17 * * *'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/example-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
push:
branches: ['main', 'master', 'releases/*']
pull_request:
merge_group: # Needed for GitHub Merge Queue
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 09ff658

Please sign in to comment.