Skip to content

fix: punycode deprecation warning #586

fix: punycode deprecation warning

fix: punycode deprecation warning #586

name: Remove waiting-on-answer label after new comments
permissions:
issues: write
pull-requests: write
on:
issue_comment:
types: [created]
jobs:
commented:
name: On comment
if: |
contains(github.event.issue.labels.*.name, 'waiting-on-answer') && !contains(github.event.issue.labels.*.name, 'stale') &&
github.event.comment.author_association != 'OWNER' && github.event.comment.author_association != 'MEMBER' &&
github.event.comment.author_association != 'COLLABORATOR' && github.actor != 'github-actions[bot]'
env:
REPO: ${{ github.event.repository.full_name }}
runs-on: ubuntu-latest
steps:
- name: Remove waiting-on-answer label
run: gh issue edit $NUMBER --remove-label "waiting-on-answer" --repo $REPO
env:
NUMBER: ${{ github.event.issue.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}