Idempotency keys only dedupe task.trigger() calls — the docs list "avoiding double-charging customers" as a use case, but a payment call made directly inside run() gets no protection #3760
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: warp-ubuntu-latest-x64-2x | |
| 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 }} |