From 208755030a403a47ac5ac951990cce43abab6e2a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 11 Feb 2021 17:56:46 -0500 Subject: [PATCH] Add needs-reply action --- .github/workflows/needs-reply.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/needs-reply.yml diff --git a/.github/workflows/needs-reply.yml b/.github/workflows/needs-reply.yml new file mode 100644 index 000000000..a7fbdf4e3 --- /dev/null +++ b/.github/workflows/needs-reply.yml @@ -0,0 +1,21 @@ +name: Remove needs-reply label + +on: + issue_comment: + types: + - created + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Remove needs-reply label + uses: octokit/request-action@v2.x + continue-on-error: true + with: + route: DELETE /repos/:repository/issues/:issue/labels/:label + repository: ${{ github.repository }} + issue: ${{ github.event.issue.number }} + label: "status:needs-reply" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}