diff --git a/.github/workflows/backports-check.yml b/.github/workflows/backports-check.yml index cfc7212ddb1..6e7ac807c0d 100644 --- a/.github/workflows/backports-check.yml +++ b/.github/workflows/backports-check.yml @@ -7,11 +7,20 @@ on: - edited jobs: + dump_context: + runs-on: ubuntu-latest + steps: + - name: Dump context + env: + EVENT_CONTEXT: ${{ toJson(github.event) }} + run: | + echo "${EVENT_CONTEXT}" check_patchback_comment: - if: > - $ {{ github.event.issue.pull_request.merged }} == true && + if: ${{ + github.event.issue.pull_request.merged_at && github.event.comment.user.login == 'patchback' && contains(github.event.comment.body, '💔 cherry-picking failed') + }} runs-on: ubuntu-latest steps: