From 72926cb030bbe8c2cfb56b3a5c95fe96c9291f1f Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 29 Nov 2024 08:21:18 +0100 Subject: [PATCH] [infra] Remove outdated cherry-pick Actions (#15665) --- .../workflows/cherry-pick-master-to-v7.yml | 34 ------------------- .github/workflows/cherry-pick-v7-to-v6.yml | 34 ------------------- 2 files changed, 68 deletions(-) delete mode 100644 .github/workflows/cherry-pick-master-to-v7.yml delete mode 100644 .github/workflows/cherry-pick-v7-to-v6.yml diff --git a/.github/workflows/cherry-pick-master-to-v7.yml b/.github/workflows/cherry-pick-master-to-v7.yml deleted file mode 100644 index 6f980ac23c166..0000000000000 --- a/.github/workflows/cherry-pick-master-to-v7.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Cherry pick master to v7 - -on: - pull_request_target: - branches: - - master - types: ['closed'] - -permissions: {} - -jobs: - cherry_pick_to_v7: - runs-on: ubuntu-latest - name: Cherry pick into v7 - permissions: - pull-requests: write - contents: write - if: ${{ contains(github.event.pull_request.labels.*.name, 'needs cherry-pick') && github.event.pull_request.merged == true }} - steps: - - name: Checkout - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - with: - fetch-depth: 0 - - name: Cherry pick and create the new PR - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: carloscastrojumo/github-cherry-pick-action@503773289f4a459069c832dc628826685b75b4b3 # v1.0.10 - with: - branch: v7.x - body: 'Cherry-pick of #{old_pull_request_id}' - cherry-pick-branch: ${{ format('cherry-pick-{0}', github.event.number) }} - title: '{old_title} (@${{ github.event.pull_request.user.login }})' - labels: | - cherry-pick diff --git a/.github/workflows/cherry-pick-v7-to-v6.yml b/.github/workflows/cherry-pick-v7-to-v6.yml deleted file mode 100644 index f7e48ffe9fbea..0000000000000 --- a/.github/workflows/cherry-pick-v7-to-v6.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Cherry pick v7 to v6 - -on: - pull_request_target: - branches: - - v7.x - types: ['closed'] - -permissions: {} - -jobs: - cherry_pick_v7_to_v6: - runs-on: ubuntu-latest - name: Cherry pick v7 into v6 - permissions: - pull-requests: write - contents: write - if: ${{ contains(github.event.pull_request.labels.*.name, 'needs cherry-pick') && github.event.pull_request.merged == true }} - steps: - - name: Checkout - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - with: - fetch-depth: 0 - - name: Cherry pick and create the new PR - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: carloscastrojumo/github-cherry-pick-action@503773289f4a459069c832dc628826685b75b4b3 # v1.0.10 - with: - branch: v6.x - body: 'Cherry-pick of #{old_pull_request_id}' - cherry-pick-branch: ${{ format('cherry-pick-{0}', github.event.number) }} - title: '{old_title} (@${{ github.event.pull_request.user.login }})' - labels: | - cherry-pick