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.git
The following commit(s) were added to refs/heads/main by this push:
new 8a11e580182d chore(ci): reorganize gh actions and add labeler
8a11e580182d is described below
commit 8a11e580182d46899299fb979f3cbaee3bbac571
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Feb 18 10:02:27 2026 +0100
chore(ci): reorganize gh actions and add labeler
Ref CAMEL-22994
---
.../labeler}/label-config.yml | 1 +
.github/workflows/alternative-os-build-main.yml | 2 +-
.github/workflows/generate-sbom-main.yml | 2 +-
.github/workflows/pr-labeler.yml | 38 ++++++++++++++++++++++
...pr-comment.yml => pr-manual-component-test.yml} | 2 +-
5 files changed, 42 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/generic-pr/label-config.yml
b/.github/actions/labeler/label-config.yml
similarity index 99%
rename from .github/workflows/generic-pr/label-config.yml
rename to .github/actions/labeler/label-config.yml
index 024b6addb59f..3fcfabd606f7 100644
--- a/.github/workflows/generic-pr/label-config.yml
+++ b/.github/actions/labeler/label-config.yml
@@ -25,6 +25,7 @@ lts:
- 'camel-4.8.x'
- 'camel-4.10.x'
- 'camel-4.14.x'
+ - 'camel-4.18.x'
ci:
- changed-files:
diff --git a/.github/workflows/alternative-os-build-main.yml
b/.github/workflows/alternative-os-build-main.yml
index d046905b2565..332232cae0de 100644
--- a/.github/workflows/alternative-os-build-main.yml
+++ b/.github/workflows/alternative-os-build-main.yml
@@ -15,7 +15,7 @@
# limitations under the License.
#
-name: Alternative OS Build (Camel 4)
+name: Alternative OS Build
on:
schedule:
diff --git a/.github/workflows/generate-sbom-main.yml
b/.github/workflows/generate-sbom-main.yml
index 640d99cb7c2d..7690f84af8fd 100644
--- a/.github/workflows/generate-sbom-main.yml
+++ b/.github/workflows/generate-sbom-main.yml
@@ -15,7 +15,7 @@
# limitations under the License.
#
-name: Generate SBOM (Camel 4)
+name: Generate SBOM
on:
schedule:
diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml
new file mode 100644
index 000000000000..95d5660a9a0b
--- /dev/null
+++ b/.github/workflows/pr-labeler.yml
@@ -0,0 +1,38 @@
+# ---------------------------------------------------------------------------
+# 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.
+# ---------------------------------------------------------------------------
+
+name: Label pull request
+
+on:
+ workflow_run:
+ # we use this workflow as it's the one that ends first
+ workflows: ["Dependency Review"]
+ types:
+ - completed
+
+jobs:
+ upload:
+ runs-on: ubuntu-latest
+ if: >
+ github.repository == 'apache/camel' && github.event.workflow_run.event
== 'pull_request'
+ steps:
+ - name: Label changes scope
+ uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ configuration-path: .github/actions/labeler/label-config.yml
+ sync-labels: true
\ No newline at end of file
diff --git a/.github/workflows/pr-comment.yml
b/.github/workflows/pr-manual-component-test.yml
similarity index 99%
rename from .github/workflows/pr-comment.yml
rename to .github/workflows/pr-manual-component-test.yml
index 463ee4cf9c63..1e186e1e199f 100644
--- a/.github/workflows/pr-comment.yml
+++ b/.github/workflows/pr-manual-component-test.yml
@@ -15,7 +15,7 @@
# limitations under the License.
#
-name: PR Comment Build
+name: PR Manual Component testing
on:
issue_comment: