Skip to content

Commit

Permalink
Merge pull request #34 from alinabuzachis/test_backport_failed_label_…
Browse files Browse the repository at this point in the history
…action

Test 4
  • Loading branch information
alinabuzachis authored Jan 17, 2025
2 parents 64dd415 + e64048f commit b259028
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/check_backports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit b259028

Please sign in to comment.