From 03b34005d14709106f740d10d24b54dad5380703 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 12 Nov 2024 10:21:01 +0100 Subject: [PATCH] Revert "Add backport action to workflow (#43886)" (#43914) This reverts commit 9ee9e52dc6e6355cd655636caadbab739cae2546. --- .github/workflows/backport-action.yml | 47 --------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/backport-action.yml diff --git a/.github/workflows/backport-action.yml b/.github/workflows/backport-action.yml deleted file mode 100644 index 7ee8e25e79768..0000000000000 --- a/.github/workflows/backport-action.yml +++ /dev/null @@ -1,47 +0,0 @@ -# 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: Automatic backport action -on: # yamllint disable-line rule:truthy - pull_request_target: - types: ['labeled', 'closed'] - branches: ['main'] -permissions: - contents: write - pull-requests: write -jobs: - backport: - name: Backport PR ${{ github.event.pull_request.number }} - if: > - github.event.pull_request.merged == true && - contains(join(github.event.pull_request.labels.*.name, ' '), 'backport-to-') - runs-on: ubuntu-latest - steps: - - name: Execute Backport Action - uses: sorenlouv/backport-github-action@ad888e978060bc1b2798690dd9d03c4036560947 # v9.5.1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - auto_backport_label_prefix: backport-to- - - - name: Info log - if: ${{ success() }} - run: cat ~/.backport/backport.info.log - - - name: Debug log - if: ${{ failure() }} - run: cat ~/.backport/backport.debug.log