github.com/hashicorp/packer@v1.14.3/.github/workflows/issue-comment-created.yml (about)

     1  name: Issue Comment Created Triage
     2  
     3  on:
     4    issue_comment:
     5      types: [created]
     6  
     7  permissions:
     8    contents: read
     9  
    10  jobs:
    11    issue_comment_triage:
    12      permissions:
    13        contents: read  # for actions/checkout to fetch code
    14        issues: write  # for actions-ecosystem/action-remove-labels to remove issue labels
    15      if: ${{contains(github.event.issue.labels.*.name, 'waiting-reply') || contains(github.event.issue.labels.*.name, 'stale')}}
    16      runs-on: ubuntu-latest
    17      steps:
    18        - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    19        - uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1.3.0
    20          with:
    21            github_token: "${{ secrets.GITHUB_TOKEN }}"
    22            labels: |
    23              stale
    24              waiting-reply