From c9db02bfaa41847ee5bc1bf8afd6c6313dda7379 Mon Sep 17 00:00:00 2001 From: Eoin O'Shaughnessy Date: Thu, 20 Jun 2024 11:43:55 +0100 Subject: [PATCH] add 'needs cherry pick' to auto-create cherrypick PRs --- .github/workflows/cherry-pick.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cherry-pick.yml b/.github/workflows/cherry-pick.yml index bd95907be2..4b9ee76050 100644 --- a/.github/workflows/cherry-pick.yml +++ b/.github/workflows/cherry-pick.yml @@ -15,7 +15,7 @@ jobs: pull-requests: write runs-on: ubuntu-22.04 name: Cherry pick into release branch - if: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') && github.event.pull_request.merged == true }} + if: ${{ (contains(github.event.pull_request.labels.*.name, 'dependencies') || contains(github.event.pull_request.labels.*.name, 'needs cherry pick')) && github.event.pull_request.merged == true }} steps: - name: Checkout uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6