Skip to content

Auto-label when user responds #7982

Auto-label when user responds

Auto-label when user responds #7982

Workflow file for this run

name: Auto-label when user responds
permissions:
issues: write
on:
issue_comment:
types: [created]
jobs:
run-check:
runs-on: ubuntu-latest
steps:
- name: Add/Remove labels when user responds
uses: andymckay/labeler@master
if: ${{ github.event.comment.user.login == github.event.issue.user.login && contains(github.event.issue.labels.*.name, 'waiting for user response') && !contains(github.event.issue.labels.*.name, 'user responded') }}
with:
add-labels: 'user responded'
remove-labels: 'waiting for user response'