This repository was archived by the owner on Dec 10, 2025. It is now read-only.
DeprecationWarning: The punycode module is deprecated
#778
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |