You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/01/26 09:15:57 UTC

[camel-kamelets] 02/02: Added Backport GH action

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

acosentino pushed a commit to branch gh-action-backport
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 9e49f461499d92eb737c1e184fc68a7c1236edea
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jan 26 10:14:48 2022 +0100

    Added Backport GH action
---
 .github/workflows/backport.yml | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
new file mode 100644
index 0000000..d446eab
--- /dev/null
+++ b/.github/workflows/backport.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: Backport
+on:
+  pull_request:
+    types:
+      - closed
+      - labeled
+
+jobs:
+  backport:
+    runs-on: ubuntu-18.04
+    name: Backport
+    steps:
+      - name: "Checkout Camel Kamelets"
+        uses: actions/checkout@v2
+        with:
+          persist-credentials: false
+          submodules: recursive
+      - name: Backport
+        uses: ./.github/actions/backport
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}