From 6ea60d6ef74604f28dd696adc11104c817250964 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sat, 19 Aug 2023 21:56:25 -0700 Subject: [PATCH] github: auto-remove `changes requested` and `awaiting reply` labels Labels are removed when new comments are posted. Signed-off-by: Andrei Vagin --- .github/workflows/manage-labels.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/manage-labels.yml diff --git a/.github/workflows/manage-labels.yml b/.github/workflows/manage-labels.yml new file mode 100644 index 000000000..a2bcd8860 --- /dev/null +++ b/.github/workflows/manage-labels.yml @@ -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