github: auto-remove changes requested and awaiting reply labels

Labels are removed when new comments are posted.

Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
Andrei Vagin 2023-08-19 21:56:25 -07:00
parent 620e8c0a61
commit 6ea60d6ef7

14
.github/workflows/manage-labels.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: Remove labels
on: [issue_comment, pull_request_review_comment]
jobs:
remove-labels-on-comments:
name: Remove labels on comments
if: github.event_name == 'issue_comment'
runs-on: ubuntu-latest
steps:
- uses: mondeja/remove-labels-gh-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
labels: |
changes requested
awaiting reply