-
Notifications
You must be signed in to change notification settings - Fork 7
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
Example usage with Github Actions (or an alternative CI) #56
Comments
OK, I think this issue is on the critical path - the CLI approach is all nice, but I tentatively opened this referencing Github Actions, but actions don't make this easy, so I'll need to do some digging. Kicking off the initial The hard part is to collect the results, because you can't trigger an action off a status change in another repo. Which means some sort of polling, but there's no obvious way of implementing that using actions either, or at least no obvious way which wouldn't use up the precious actions minutes. There could be a scheduled which basically polls all the things that are in flight, but I'm struggling to imagine a way to make it easy to set up, as GH actions don't have a way of sharing workflows. Neither is this easy on Travis - you'd essentially have to keep a job running until it times out or the dependents finish their jobs, which can be rather wasteful as well. I'll ponder other available tools to achieve this, but ideas are most welcome! |
OK, so here's the plan:
|
Things not covered in #69, to be reconsidered if we want them for MVP:
|
i am very interested in this “require action” functionality, and have never come across it before. |
https://docs.github.com/en/rest/reference/checks - look for |
ah, that reads to me as just a way to indicate to github that the user has to click the "details" link, and do something else. visual diffing uses this, for example, to force users to go click a button confirming that yes, this visual change was intended. |
Yeah, quite likely, although if that can be wired up to kicking off another job - that's all that's necessary. Or a readme telling to post a comment 🤷♂️ |
Looks like Github only sets the I guess we'll need to rewrite the comment trigger to instead be a label... which can kind of work for kicking off the One option is to have a label for I guess I could rework this to check the permissions via the API, even if it would cost some actions seconds... 🤔 |
OK, the known issue with collaborators is still there, and it is a rather annoying one to work around, so I guess I'll try to reimplement the workflow with labels. Here's what I'm thinking right now:
Gotchas:
Next steps:
|
wiby test
(triggered off a comment?)The text was updated successfully, but these errors were encountered: