Merge pull request #1839 from ndeloof/pending_label

automation to remove pending label on new comment
This commit is contained in:
Nicolas De loof 2021-06-24 10:05:34 +02:00 committed by GitHub
commit 9ca9aee4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
.github/workflows/pending_answered.yml vendored Normal file
View File

@ -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