Debian Codegraph @

ansible_collections/community/aws/.github/workflows/backports-check.yml

raw
1 ---
2 name: Check Patchback Comment on Edit
3
4 on:
5 issue_comment:
6 types:
7 - edited
8
9 jobs:
10 check_patchback_comment:
11 if: ${{
12 github.event.issue.pull_request.merged_at &&
13 github.event.comment.user.login == 'patchback[bot]' &&
14 contains(github.event.comment.body, '💔 cherry-picking failed')
15 }}
16 runs-on: ubuntu-latest
17
18 steps:
19 - name: Add Label for Backport Failure
20 run: |
21 gh pr edit ${{ github.event.issue.number }} -R ${{ github.repository }} --add-label 'backport_failed'
22 env:
23 GH_TOKEN: ${{ github.token }}