-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
[WIP]: new-plugin CI workflow #2255
base: main
Are you sure you want to change the base?
Conversation
.github/workflows/new-plugin.yml
Outdated
# Default: matrix.org | ||
server: matrix.org | ||
# TODO: token | ||
token: ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. 👀