bug: TriggerApiError: Cannot trigger MY_TASK with a one-time use token as it has already been used. #1423
This file contains hidden or 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: Vouch - Manage by Issue | |
| on: | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| contents: write | |
| issues: write | |
| jobs: | |
| manage: | |
| runs-on: ubuntu-latest | |
| if: >- | |
| contains(github.event.comment.body, 'vouch') || | |
| contains(github.event.comment.body, 'denounce') || | |
| contains(github.event.comment.body, 'unvouch') | |
| steps: | |
| - uses: mitchellh/vouch/action/manage-by-issue@c6d80ead49839655b61b422700b7a3bc9d0804a9 # v1.4.2 | |
| with: | |
| comment-id: ${{ github.event.comment.id }} | |
| issue-id: ${{ github.event.issue.number }} | |
| env: | |
| GH_TOKEN: ${{ github.token }} |