-
Notifications
You must be signed in to change notification settings - Fork 24
Description
We currently have a peer review project board here that we use to track current reviews. this is helpful to keep tabs on our editorial process. Most often editors don't update the review status on the board but they DO update the labels for each issue.
It easy not too difficult to move an issue to a new "column" or status on the project board using the GitHUB api / graphQL. I have some code that is a proof of concept below.
There are also actions out there but i'm not sure if any existing actions do what we need them to do. what we want to do is.
- when an issue has a label change to the label ==
0/pre-review-checksmove it to the pre-review-checks status on the board - when an issue has a label change to
1-editor-assignedthen move the package tounder-reviewstatus on the board - when a issue gets the
6/pyOS-approved 🚀🚀🚀label, then update the status topyos-accepted - when an issue get the
9/joss-approvedlabel assigned, update the status tojoss-acceptedon the board.
I looked into the actions below
but i haven't been able to get them to work.
- https://github.com/actions/add-to-project
Here is a discussion of doing this using a github action and a github app!
Authentication via GitHub Apps actions/add-to-project#158
GitHub action
Once we get the python code working to update the board, we'd next want to create an action that implements this script and updates the board.
- we could update the board once a week via a cron job.
- It should also have a workflow dispatch trigger available.
- it will need to store the token required to update the issue status on the board as a secret. We have an example of doing this with pyos meta in our contributor update workflow.
Tasks
this issue could be divided into discrete subtasks
- take the code that i linked to below in the open pr and first clean it up / make it work to update all issues on the board.
- Once the code runs and is clean and documented, merge that into pyosmeta
- Then create a github action that calls the code and updates the project board. this action could live in our software-submission repo.
it is also fine if we want to refactor my script in smaller chunks during a sprint vs doing all of the work !
Metadata
Metadata
Assignees
Labels
Type
Projects
Status