ci: add merge queue support for status checks

This commit is contained in:
nachtjasmin 2023-12-02 14:41:35 +01:00 committed by Jasmin
parent c90c52f719
commit 510850c7a8
2 changed files with 8 additions and 2 deletions

View file

@ -1,9 +1,12 @@
name: Playwright Tests
on:
push:
branches: [main, master]
branches: [main]
pull_request:
branches: [main, master]
branches: [main]
merge_group:
types: [checks_requested]
jobs:
test:
timeout-minutes: 60

View file

@ -1,6 +1,8 @@
name: Code quality verification
on:
merge_group:
types: [checks_requested]
pull_request:
types:
- "opened"
@ -9,6 +11,7 @@ on:
jobs:
format:
runs-on: ubuntu-latest
if: "${{ github.event_name == 'pull_request' }}"
permissions:
contents: write