Skip to content

Commit c1a902e

Browse files
authored
Add merge_group trigger to main workflow (#3162)
This adds `merge_group` to the main workflow, enabling us to use the merge queue functionality.
1 parent ea582cf commit c1a902e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77
pull_request:
8+
merge_group:
89

910
jobs:
1011
check-workflows:
@@ -54,7 +55,7 @@ jobs:
5455
publish-staging-simulator:
5556
name: Publish Snaps Simulator to `staging` folder
5657
needs: lint-build-test
57-
if: ${{ github.ref_name == 'main' }}
58+
if: ${{ github.ref_name == 'main' && github.event_name == 'push' }}
5859
permissions:
5960
contents: write
6061
uses: ./.github/workflows/publish-github-pages.yml

0 commit comments

Comments
 (0)