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

Feature Request: Change github event hook to use custom RepositoryDispatchEvent for asset recompile #314

Open
jspaleta opened this issue May 12, 2020 · 1 comment

Comments

@jspaleta
Copy link

Github API gives you the ability to generate a custom github event using a personal token. We can use this workflow to trigger bonsai to run an asset recompile at the end of CI/CD after all asset binaries are uploaded into the tagged github release.

###Straw proposal

  1. We create a github custom event using event_type "bonsai_recompile" as part of github actions/travisCI
    ref: https://developer.github.com/v3/repos/#create-a-repository-dispatch-event
  2. We change Bonsai logic to look for that event instead of the asset create event.
@jspaleta
Copy link
Author

Update on this. The repository_dispatch event can't be used by webhooks at present, it there only to support github actions right now. So this isn't a solution yet.

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

1 participant