Official Webhook action?

Hi, is there an official action to send webhook after a workflow is completed?

Similar to Travis’s notification:

If not, what’s the recommended way to send a webhook with the build completion payload?

You can navigate to the repository’s Settings > Webhooks > “Add webhook” button > “Let me select individual events.” option to view all the webhook events you can select.
You also can navigate to Organization settings > Webhooks to set organization-level webhooks.

I checked all the supported webhook events, there are no special events for workflow. If your workflow is running as part of the checks for a PR, maybe you can try using the “Check runs” or “Check suites” event.

If your projects really need the special webhooks for workflow, I recommend you directly directly report a feature request here. That will allow you to directly interact with the appropriate engineering team, and make it more convenient for the engineering team to collect and categorize your suggestions.

In addition, I find an action from the GitHub Marketplace, you also can try it.
Workflow Webhook Action

1 Like

Thank you @brightran

I think this should do the trick.

1 Like

@brightran I just realized that if you have multiple workflows and other Github apps, there will be multiple check_suite event, so there is no easy/clean way to distinguish between them. What I want is just to be able to send a webhook once all jobs with a workflow are finished. So I will keep this issue open at the moment.


Thanks for your suggestion. I think you’d better report a feature request here.