From e64048f6ac420049eb204bd4713d66b27e128c6c Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Fri, 17 Jan 2025 11:21:33 +0100 Subject: [PATCH] Test 4 Signed-off-by: Alina Buzachis --- .github/workflows/check_backports.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_backports.yml b/.github/workflows/check_backports.yml index 6d4da7265f2..0643d4e287e 100644 --- a/.github/workflows/check_backports.yml +++ b/.github/workflows/check_backports.yml @@ -7,12 +7,14 @@ on: jobs: check_patchback_comment: - if: > - github.event.issue.pull_request.merged == true && - contains(github.event.comment.body, '💔 cherry-picking failed') + # if: > + # github.event.issue.pull_request.merged == true && + # contains(github.event.comment.body, '💔 cherry-picking failed') runs-on: ubuntu-latest steps: - name: Add Label for Backport Failure run: | + echo ${{ contains(github.event.comment.body, '💔 cherry-picking failed') }} + gh pr edit ${{ github.event.issue.number }} -R ${{ github.repository }} --add-label 'backport-failed'