mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Prepare CI for merge queues (#4252)
* Prepare CI for merge queues * Fix syntax SNAFUs
This commit is contained in:
3
.github/workflows/test-suite.yml
vendored
3
.github/workflows/test-suite.yml
vendored
@@ -8,6 +8,7 @@ on:
|
||||
- trying
|
||||
- 'pr/*'
|
||||
pull_request:
|
||||
merge_group:
|
||||
env:
|
||||
# Deny warnings in CI
|
||||
# Disable debug info (see https://github.com/sigp/lighthouse/issues/4005)
|
||||
@@ -20,7 +21,7 @@ jobs:
|
||||
target-branch-check:
|
||||
name: target-branch-check
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'pull_request'
|
||||
if: github.event_name == 'pull_request' || github.event_name == 'merge_group'
|
||||
steps:
|
||||
- name: Check that the pull request is not targeting the stable branch
|
||||
run: test ${{ github.base_ref }} != "stable"
|
||||
|
||||
Reference in New Issue
Block a user