From 1fed4dd47fa30d60ff4d53f267b4c221bf75fd65 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Wed, 23 Jun 2021 10:49:50 +0200 Subject: [PATCH] pending label auto-removal on new comment Signed-off-by: Nicolas De Loof --- .github/workflows/pending_answered.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/pending_answered.yml diff --git a/.github/workflows/pending_answered.yml b/.github/workflows/pending_answered.yml new file mode 100644 index 000000000..636d11c36 --- /dev/null +++ b/.github/workflows/pending_answered.yml @@ -0,0 +1,17 @@ +name: Continuous integration + +on: + issue_comment: + types: [ created ] + +jobs: + pending: + if: ${{ !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'pending') }} + name: Remove pending label + runs-on: ubuntu-latest + steps: + - name: removelabel + uses: siegerts/pending-response@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + pending-response-label: pending