open-quantum-safe / liboqs

C library for prototyping and experimenting with quantum-resistant cryptography
https://openquantumsafe.org/
Other
1.92k stars 466 forks source link

Add GitHub Actions to automate project board management #1856

Open ajbozarth opened 4 months ago

ajbozarth commented 4 months ago

This is a follow up to #1855

After creating the new project board for tracking issues I found that some automation is not directly supported in the projects workflow feature. Adding opened issues to a default column and closed issue to the done column are both already working, but the automation to move active work to the In Progress column isn't.

In order to automate moving issues between columns based on specific actions (ie adding a label, opening a PR that would close an issue, etc) we have to use GitHub Actions. In the new action we would need to make API calls dealing with the project board, the API for this is not simple.

This issue is for discussing and tracking if and how we would like to add further automation.

ajbozarth commented 4 months ago

Before starting work on this or finding someone else who may be able to do it faster I wanted to discuss and confirm if this extra automation is currently needed and desired. We can start discussion here and continue I at the next OQS call.

For reference in the complexity of the GitHub Actions necessary, I found a good blog post from last year detailing how they accomplished a similar task https://medium.com/@martatatiana/github-projects-change-issue-status-based-on-pull-request-change-45dcacab9fb7 given the unique queries in her example code, it would be unwise to copy-paste it without a full understanding of how the API queries work.

ajbozarth commented 4 months ago

As discussed in today's call and noted in https://github.com/open-quantum-safe/liboqs/issues/1855 this will sit on the back burner for now until the team has had time to play with the new project board for a while.