| 1 | name: Process new comment on issue |
| 2 | |
| 3 | on: |
| 4 | workflow_dispatch : |
| 5 | issue_comment: |
| 6 | types: [created] |
| 7 | |
| 8 | jobs: |
| 9 | wti: |
| 10 | name: Run wti |
| 11 | runs-on: windows-2022 |
| 12 | permissions: |
| 13 | issues: write |
| 14 | if: ${{ !github.event.issue.pull_request && github.event.issue.user.id == github.event.comment.user.id }} |
| 15 | steps: |
| 16 | - name: Checkout repo |
| 17 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 18 | |
| 19 | - uses: ./.github/actions/triage |
| 20 | with: |
| 21 | issue: '${{ github.event.issue.number }}' |
| 22 | comment: '${{ github.event.comment.id }}' |
| 23 | token: ${{ secrets.GITHUB_TOKEN }} |