Skip to content

Commit

Permalink
Add merge_group trigger to main workflow (#3162)
Browse files Browse the repository at this point in the history
This adds `merge_group` to the main workflow, enabling us to use the
merge queue functionality.
  • Loading branch information
Mrtenz authored Feb 26, 2025
1 parent ea582cf commit c1a902e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
pull_request:
merge_group:

jobs:
check-workflows:
Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
publish-staging-simulator:
name: Publish Snaps Simulator to `staging` folder
needs: lint-build-test
if: ${{ github.ref_name == 'main' }}
if: ${{ github.ref_name == 'main' && github.event_name == 'push' }}
permissions:
contents: write
uses: ./.github/workflows/publish-github-pages.yml
Expand Down

0 comments on commit c1a902e

Please sign in to comment.