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

Add a repository_dispatch hook for whatwg/sg updates #334

Merged
merged 1 commit into from
Jun 17, 2020

Conversation

foolip
Copy link
Member

@foolip foolip commented Jun 17, 2020

This is half of the solution, in addition the sg repository will need to
trigger the event:
https://developer.github.com/v3/repos/#create-a-repository-dispatch-event

Part of whatwg/sg#110.

This is half of the solution, in addition the sg repository will need to
trigger the event:
https://developer.github.com/v3/repos/#create-a-repository-dispatch-event

Part of whatwg/sg#110.
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Per https://github.community/t/triggering-by-other-repository/16163 it seems like this is the way to go, even if it's advertised for usage outside of GitHub.

I couldn't find documentation on types, but I'll trust you that it's correct.

@foolip
Copy link
Member Author

foolip commented Jun 17, 2020

I'm not 100% confident in types, but I based it on https://help.github.com/en/actions/reference/events-that-trigger-workflows#external-events-repository_dispatch and when this has landed I can experiment easily. (Don't feel like creating two other repos for testing.)

@foolip foolip merged commit 549b34f into master Jun 17, 2020
@foolip foolip deleted the repository_dispatch branch June 17, 2020 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants