Restrict trigger push branch for GitHub Workflow (#13522)

Signed-off-by: Aurélien Pupier <apupier@ibm.com>
This commit is contained in:
Aurélien Pupier 2026-07-02 20:50:38 +02:00 committed by GitHub
parent 6f30b0d583
commit 7e84850a03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 25 additions and 7 deletions

View File

@ -17,8 +17,12 @@
name: Build
on:
- push
- pull_request
push:
branches:
- main
- 4.22
- 4.20
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

View File

@ -17,8 +17,12 @@
name: Simulator CI
on:
- push
- pull_request
push:
branches:
- main
- 4.22
- 4.20
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

View File

@ -17,8 +17,12 @@
name: License Check
on:
- push
- pull_request
push:
branches:
- main
- 4.22
- 4.20
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

View File

@ -17,7 +17,13 @@
name: UI Build
on: [push, pull_request]
on:
push:
branches:
- main
- 4.22
- 4.20
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}