Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mimick github's webhook payload data #645

Closed
LecrisUT opened this issue Jun 15, 2023 · 3 comments
Closed

Mimick github's webhook payload data #645

LecrisUT opened this issue Jun 15, 2023 · 3 comments

Comments

@LecrisUT
Copy link

LecrisUT commented Jun 15, 2023

Let's say there is a new commit pushed and you want github's webhook to be delayed until other CI jobs finish running. It would be nice in this situation to mimick github's payload for that event (or at least as much as possible). That way it can be plug-and-play replacement for the services that rely on webhook integration.

This could then be the default payloads to send.

@joelwmale
Copy link
Owner

@LecrisUT you can have this job run after other CI jobs by setting the needs variable of the job? See documentation here: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds

I could look at getting the github payload event for whatever happened (i.e push, merge, etc), would that help?

@LecrisUT
Copy link
Author

I could look at getting the github payload event for whatever happened (i.e push, merge, etc), would that help?

Indeed that is exactly what I was trying to say in this issue.

This was referenced Mar 28, 2024
@joelwmale
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants