anyone know if :
can you run a github action before a webhook? or force the webhook to run after an action is completed? đź§µ
g
Gabriel
09/28/2022, 2:16 PM
can you give more context?
r
RB
09/28/2022, 2:18 PM
You can run a workflow after a webhook is completed
I wonder if you could do something like this
• Configure your webhook to only run on specific events ?
• Github workflow runs when a new commit is pushed
• The last job of the workflow uses an action like workflow-webhook-action to manually trigger your webhook
p
PePe Amengual
09/28/2022, 4:11 PM
so I have atlantis setup with a webhook that trigger on PRs open/sync/merge etc and I have a workflow that triggers on push to the PR and the workflow needs to run before the webhook but that is not what is happening
PePe Amengual
09/28/2022, 4:12 PM
if I could somehow said “run workflow first and when is finish run the webhook”, it will be ideal
PePe Amengual
09/28/2022, 4:13 PM
if not what @RB said is possible but then I need to figure out the payload to send to atlantis webhook