mirror of
https://github.com/apache/cloudstack
synced 2026-08-02 05:26:35 +00:00
Restrict trigger push branch for GitHub Workflow (#13522)
Signed-off-by: Aurélien Pupier <apupier@ibm.com>
This commit is contained in:
parent
6f30b0d583
commit
7e84850a03
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -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' }}
|
||||
|
||||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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' }}
|
||||
|
||||
8
.github/workflows/rat.yml
vendored
8
.github/workflows/rat.yml
vendored
@ -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' }}
|
||||
|
||||
8
.github/workflows/ui.yml
vendored
8
.github/workflows/ui.yml
vendored
@ -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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user