Skip to content
---
name: Check Patchback Comment on Edit
on:
issue_comment:
types:
- edited
jobs:
check_patchback_comment:

Check failure on line 10 in .github/workflows/backports-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/backports-check.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
if: ${{
github.event.issue.pull_request.merged == true &&
github.event.comment.user.login == 'tremble' &&
contains(github.event.comment.body, '💔 cherry-picking failed')
}}
runs-on: ubuntu-latest
steps:
- 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 }}