You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/02/27 08:57:29 UTC
[camel-k] 01/03: chore(ci): trigger native only when PR are labeled
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 1961b51cb5ccf2be49997706a24025f87d3d52ee
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Feb 23 17:34:17 2023 +0100
chore(ci): trigger native only when PR are labeled
---
.github/workflows/native.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml
index 2b7b2ed6a..a7040cfc7 100644
--- a/.github/workflows/native.yml
+++ b/.github/workflows/native.yml
@@ -22,6 +22,11 @@ env:
on:
pull_request:
+ types:
+ - labeled
+ - opened
+ - synchronize
+ - reopened
branches:
- main
- "release-*"
@@ -69,7 +74,7 @@ concurrency:
jobs:
install-native-high-memory:
-
+ if: contains(github.event.pull_request.labels.*.name, 'trigger native test')
runs-on: macos-12
steps:
@@ -94,7 +99,7 @@ jobs:
high-memory: 'true'
install-native:
-
+ if: contains(github.event.pull_request.labels.*.name, 'trigger native test')
runs-on: macos-12
steps: