[WIP]: new-plugin CI workflow#2255
Conversation
.github/workflows/new-plugin.yml
Outdated
| # Default: matrix.org | ||
| server: matrix.org | ||
| # TODO: token | ||
| token: ... |
There was a problem hiding this comment.
Should be able to have @GaetanLepage set up a repo environment variable for this that we can reference
There was a problem hiding this comment.
Yeah. Generating a token is documented upstream here. I guess we'd want a dedicated "bot" user?
Assuming the repo secret will be named CI_MATRIX_TOKEN for now.
d2dc0b7 to
1b9f7aa
Compare
1b9f7aa to
062d945
Compare
|
Barring some testing and cleanup, this should be functionally complete. I've been testing the python script (used to generate a workflow matrix, and get some other metadata) as follows: Which appears to be working correctly. I haven't gotten around to testing the CI workflow itself, but I have attempted to extract as much complexity as possible out of the workflow and into the python script. As far as cleanup is concerned, it'd be nice to:
Any early feedback and/or help testing would be greatly appreciated! |
Initial conceptual stub for a CI workflow that can announce new plugins.
Pushing this up WIP and unfinished as I find GitHub workflows particularly draining 😅
Hopefully I've stubbed enough out that someone could continue this if I eventually abandon it. 👀