Skip to content

Commit

Permalink
feat(github): Remove waiting-response label automatically (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilgdn authored Feb 25, 2024
1 parent 365f499 commit c7b49a3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/remove-waiting-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Remove waiting-response label

on: [issue_comment]

jobs:
remove_label:
if: github.actor != 'cyrilgdn'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: ["waiting-response"]
})

0 comments on commit c7b49a3

Please sign in to comment.