You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/01/12 14:23:31 UTC
[camel] 05/06: (chores) ci: adjust the GH labeling actions for Camel 3 and Camel 4
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit bcedfee4020b41685ef69a51a31fa087ba6ea649
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Jan 12 10:16:31 2023 +0100
(chores) ci: adjust the GH labeling actions for Camel 3 and Camel 4
---
.github/workflows/generic-pr.yaml | 14 ++++++++++++++
.github/workflows/generic-pr/label-config-camel-3.yml | 19 +++++++++++++++++++
.github/workflows/generic-pr/label-config-main.yml | 19 +++++++++++++++++++
3 files changed, 52 insertions(+)
diff --git a/.github/workflows/generic-pr.yaml b/.github/workflows/generic-pr.yaml
index c44d132e1ed..1de28b2d550 100644
--- a/.github/workflows/generic-pr.yaml
+++ b/.github/workflows/generic-pr.yaml
@@ -47,3 +47,17 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/workflows/generic-pr/label-config.yml
sync-labels: true
+ - name: Label changes scope (Camel 4)
+ if: github.ref == 'refs/heads/main'
+ uses: actions/labeler@v4.0.2
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ configuration-path: .github/workflows/generic-pr/label-config-main.yml
+ sync-labels: true
+ - name: Label changes scope (Camel 4)
+ if: github.ref == 'refs/heads/camel-3.x'
+ uses: actions/labeler@v4.0.2
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ configuration-path: .github/workflows/generic-pr/label-config-camel-3.yml
+ sync-labels: true
diff --git a/.github/workflows/generic-pr/label-config-camel-3.yml b/.github/workflows/generic-pr/label-config-camel-3.yml
new file mode 100644
index 00000000000..37e288ef940
--- /dev/null
+++ b/.github/workflows/generic-pr/label-config-camel-3.yml
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+camel-3:
+ - **/*
diff --git a/.github/workflows/generic-pr/label-config-main.yml b/.github/workflows/generic-pr/label-config-main.yml
new file mode 100644
index 00000000000..b6b1aab7fbe
--- /dev/null
+++ b/.github/workflows/generic-pr/label-config-main.yml
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+camel-4:
+ - **/*