Enforce test fix (#2122)

CI/CD PR

---------

Co-authored-by: Crow <pengchengw@me.com>
This commit is contained in:
kadeshar 2026-02-07 16:34:15 +01:00 committed by GitHub
parent 76b6df9ea3
commit 6ed3f24ecb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 11 additions and 9 deletions

View File

@ -1,13 +1,15 @@
name: Enforce test-staging → main name: Enforce test-staging → master
on: on:
pull_request: pull_request:
branches: branches:
- master - master
- test-staging
jobs: jobs:
require-test-staging: require-test-staging:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
if: github.event.pull_request.base.ref == 'master'
steps: steps:
- name: Ensure PR source is test-staging - name: Ensure PR source is test-staging
run: | run: |

View File

@ -2,9 +2,9 @@ name: Codestyle
on: on:
push: push:
branches: [ "master" ] branches: [ "master", "test-staging" ]
pull_request: pull_request:
branches: [ "master" ] branches: [ "master", "test-staging" ]
concurrency: concurrency:
group: "codestyle-${{ github.event.pull_request.number }}" group: "codestyle-${{ github.event.pull_request.number }}"

View File

@ -2,9 +2,9 @@ name: ubuntu-build
on: on:
push: push:
branches: [ "master" ] branches: [ "master", "test-staging" ]
pull_request: pull_request:
branches: [ "master" ] branches: [ "master", "test-staging" ]
concurrency: concurrency:
group: "core-build-${{ github.event.pull_request.number }}" group: "core-build-${{ github.event.pull_request.number }}"

View File

@ -1,9 +1,9 @@
name: macos-build name: macos-build
on: on:
push: push:
branches: [ "master" ] branches: [ "master", "test-staging" ]
pull_request: pull_request:
branches: [ "master" ] branches: [ "master", "test-staging" ]
concurrency: concurrency:
group: "macos-build-${{ github.event.pull_request.number }}" group: "macos-build-${{ github.event.pull_request.number }}"

View File

@ -1,9 +1,9 @@
name: windows-build name: windows-build
on: on:
push: push:
branches: [ "master" ] branches: [ "master", "test-staging" ]
pull_request: pull_request:
branches: [ "master" ] branches: [ "master", "test-staging" ]
concurrency: concurrency:
group: "windows-build-${{ github.event.pull_request.number }}" group: "windows-build-${{ github.event.pull_request.number }}"