broad-zoo-34077
03/21/2023, 3:30 PMbusy-agent-35515
03/21/2023, 3:33 PMbusy-agent-35515
03/21/2023, 3:36 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-eventsbusy-agent-35515
03/21/2023, 3:37 PMorange-helicopter-53505
03/21/2023, 3:39 PMError: either --commit or --pull-request is required
Error: Process completed with exit code 1.
orange-helicopter-53505
03/21/2023, 3:40 PMon: pull_request
busy-agent-35515
03/21/2023, 3:42 PMbusy-agent-35515
03/21/2023, 3:42 PMinfracost comment
?busy-agent-35515
03/21/2023, 3:43 PMorange-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 PMorange-helicopter-53505
03/21/2023, 3:51 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