This is an automated email from the ASF dual-hosted git repository.

DaanHoogland pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e84850a03a Restrict trigger push branch for GitHub Workflow (#13522)
7e84850a03a is described below

commit 7e84850a03a1c5deae9fe9c0a53dab3d569607ca
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Thu Jul 2 20:50:38 2026 +0200

    Restrict trigger push branch for GitHub Workflow (#13522)
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .github/workflows/build.yml | 8 ++++++--
 .github/workflows/ci.yml    | 8 ++++++--
 .github/workflows/rat.yml   | 8 ++++++--
 .github/workflows/ui.yml    | 8 +++++++-
 4 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 62b816719c7..9c8ca10f85e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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' }}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 63484def8f9..7f6645f4af4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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' }}
diff --git a/.github/workflows/rat.yml b/.github/workflows/rat.yml
index f8b0aa14932..b75ff42b912 100644
--- a/.github/workflows/rat.yml
+++ b/.github/workflows/rat.yml
@@ -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' }}
diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml
index aeccb5624f7..7f23add660f 100644
--- a/.github/workflows/ui.yml
+++ b/.github/workflows/ui.yml
@@ -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 }}

Reply via email to