]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert ".github: Support for automatically creating backport PRs when labeled"
authorDavid Galloway <dgallowa@redhat.com>
Thu, 30 Jun 2022 19:06:49 +0000 (15:06 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 30 Jun 2022 21:19:58 +0000 (17:19 -0400)
This reverts commit f5f9459fb22d4c832cac88abfc1b92ab7304ed51.

Signed-off-by: David Galloway <dgallowa@redhat.com>
.github/workflows/backport.yml [deleted file]

diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
deleted file mode 100644 (file)
index e1fb96b..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-name: Automatically backport labeled PRs
-on:
-  pull_request_target:
-    types:
-      - closed
-      - labeled
-
-jobs:
-  backport:
-    name: Backport
-    runs-on: ubuntu-latest
-    # Only react to merged PRs for security reasons.
-    # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
-    if: >
-      github.event.pull_request.merged
-      && (
-        github.event.action == 'closed'
-        || (
-          github.event.action == 'labeled'
-          && contains(github.event.label.name, 'backport')
-        )
-      )
-    steps:
-      - uses: tibdex/backport@v2
-        with:
-          github_token: ${{ secrets.GITHUB_TOKEN }}