orange-helicopter-53505
03/21/2023, 3:30 PMon: pull_request
but Infracost syntax runs only with this syntax on: [pull_request]
. Is there any other option to fix this issue? Thank you in advance.busy-agent-35515
03/21/2023, 3:33 PMon: [pull_request]
, however this should be identical to on: pull_request
according to GH workflows docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#using-multiple-eventsorange-helicopter-53505
03/21/2023, 3:39 PMError: either --commit or --pull-request is required
Error: Process completed with exit code 1.
on: pull_request
busy-agent-35515
03/21/2023, 3:42 PMinfracost comment
?orange-helicopter-53505
03/21/2023, 3:44 PMrun: |
infracost comment github --path=/tmp/infracost.json \
--repo=$GITHUB_REPOSITORY \
--github-token=${{github.token}} \
--pull-request=${{github.event.pull_request.number}} \
--behavior=update
busy-agent-35515
03/21/2023, 3:46 PM${{github.event.pull_request.number}}
is not definedorange-helicopter-53505
03/21/2023, 3:47 PMbusy-agent-35515
03/21/2023, 3:48 PMorange-helicopter-53505
03/21/2023, 3:48 PMbusy-agent-35515
03/21/2023, 3:53 PMpull-request: write
permission btworange-helicopter-53505
03/21/2023, 3:58 PMbusy-agent-35515
03/21/2023, 4:05 PMif
statements. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idiforange-helicopter-53505
03/21/2023, 4:07 PMbusy-agent-35515
03/21/2023, 4:08 PM