github.com/gophercloud/gophercloud@v1.14.1/.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      steps:
    13      - run: gh pr edit "$NUMBER" --remove-label "needinfo"
    14        env:
    15          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    16          GH_REPO: ${{ github.repository }}
    17          NUMBER: ${{ github.event.pull_request.number }}