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

Handle workflow_dispatch as intended #109

Merged
merged 4 commits into from
Sep 29, 2020
Merged

Handle workflow_dispatch as intended #109

merged 4 commits into from
Sep 29, 2020

Conversation

eskfung
Copy link
Contributor

@eskfung eskfung commented Sep 19, 2020

(Follow-up to #107)

🤦 In my original PR I grossly misunderstood what handleBranchUpdate was doing. The intended experience was this:

Screen_Shot_2020-09-19_at_11_40_30

Here is a way to reuse some existing parts to achieve this.

README.md Outdated
* `status`
* `workflow_dispatch`

For more information on when these occur, see the Github documentation on [Webhook events and payloads](https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a user, I didn't really know when each of these referenced events occurred.
As a contributor, I wanted to see the corresponding payloads.

Hope this helps people down the line.

lib/api.js Outdated Show resolved Hide resolved
@eskfung
Copy link
Contributor Author

eskfung commented Sep 28, 2020

@pascalgn anything else I can handle on this branch?

Copy link
Owner

@pascalgn pascalgn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@pascalgn pascalgn merged commit 1887dd8 into pascalgn:master Sep 29, 2020
@pascalgn
Copy link
Owner

Thanks for the nice PR, it's merged now! 🎉

@eskfung eskfung deleted the workflow_dispatch branch September 29, 2020 20:56
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

Successfully merging this pull request may close these issues.

2 participants