-
Notifications
You must be signed in to change notification settings - Fork 92
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 KDS Workflows to keep KDS Roadmap statuses updated #882
Add KDS Workflows to keep KDS Roadmap statuses updated #882
Conversation
67e3cc6
to
e6aded4
Compare
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.
I always wish there was a nicer way to construct GraphQL queries than creating a string template - but that seems to be the preferred way.
As you've tested this elsewhere, I think there's no much point holding this up, so we should just merge, let it run, and make sure it's doing what it ought!
.github/githubUtils.js
Outdated
@@ -0,0 +1,206 @@ | |||
const GithubAPI = require('./GithubAPI'); | |||
|
|||
const ITERATION_BACKLOG_PROJECT_NUMBER = 15; |
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.
I think these might be better encoded as org and repo secrets.
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.
Oh, sorry - actually let's move the ids into secrets that we read in the workflow and then pass into the JS functions.
Thanks @rtibbles! I've pushed the requeseted changes :) |
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.
Secrets added at the org level and exposed to the KDS repo.
@EshaanAgg noted #906 - would it be possible to limit the action run to LE repo only? |
Description
Adds two workflows to keep KDS Roadmap statuses updated:
Released
and will update thereleased in
field to the release version.Changelog
Steps to test
I have tested these actions in the https://github.com/learningequality/test-actions repo. We can dispatch:
{ "payload": { "action": "published", "release": { "body": "Some release notes https://github.com/learningequality/kolibri-design-system/pull/783", "name": "v0.0.1"}, "repository": { "name": "kolibri-design-system", "owner": { "login": "learningequality" } } }, "eventName": "release"}