github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/.github/workflows/label-issue.yaml (about) 1 name: Label issue 2 on: 3 issue_comment: 4 types: 5 - created 6 7 jobs: 8 clear_needinfo: 9 name: Clear needinfo 10 if: ${{ github.event.issue.user.login }} == ${{ github.event.comment.user.login }} 11 runs-on: ubuntu-latest 12 permissions: 13 issues: write 14 pull-requests: write 15 steps: 16 - run: gh issue edit "$NUMBER" --remove-label "needinfo" 17 env: 18 GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 19 GH_REPO: ${{ github.repository }} 20 NUMBER: ${{ github.event.issue.number }}