ci: add run e2e test on merge group (#2915)

This commit is contained in:
Jonathan Ho
2023-03-31 01:45:02 +00:00
committed by GitHub
parent 65f60af35e
commit abe8c0fa29
+3 -2
View File
@@ -5,6 +5,7 @@ on:
push:
branches:
- main
merge_group:
jobs:
build-type-and-test:
@@ -139,7 +140,7 @@ jobs:
bot-e2e-test:
name: Bot
needs: bot-unit-test
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'merge_group' }}
uses: ./.github/workflows/e2e-test.yml
secrets: inherit
with:
@@ -205,7 +206,7 @@ jobs:
rest-e2e-test:
name: Rest
needs: rest-unit-test
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'merge_group' }}
uses: ./.github/workflows/e2e-test.yml
secrets: inherit
with: