Skip to content

Commit

Permalink
Fixup patchback failure labelling
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Jan 22, 2025
1 parent 5d789e6 commit f91d12c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/backports-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ on:

jobs:
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:
Expand Down

0 comments on commit f91d12c

Please sign in to comment.