Convert: Golang has wrong casing (lower case letters for attributes) #6
This file contains 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]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Remove waiting-on-answer label | |
run: gh issue edit $NUMBER --remove-label "waiting-on-answer" | |
env: | |
NUMBER: ${{ github.event.issue.number }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |