Skip to content

Commit

Permalink
Fix .github/workflows/backports-check.yml workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <[email protected]>
  • Loading branch information
alinabuzachis committed Jan 17, 2025
1 parent d2730f5 commit 004bd38
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Check Patchback Comment on Edit

on:
Expand All @@ -8,7 +9,7 @@ on:
jobs:
check_patchback_comment:
if: >
github.event.issue.pull_request.merged == true &&
$ {{ github.event.issue.pull_request.merged }} == true &&
github.event.comment.user.login == 'patchback' &&
contains(github.event.comment.body, '💔 cherry-picking failed')
runs-on: ubuntu-latest
Expand All @@ -17,3 +18,5 @@ jobs:
- name: Add Label for Backport Failure
run: |
gh pr edit ${{ github.event.issue.number }} -R ${{ github.repository }} --add-label 'backport-failed'
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 004bd38

Please sign in to comment.