-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Hey folks,
So, following up on the TODO list chat in actions repo about automating the project board stuff, I was thinking about tackling the "Changes Requested" part.
Basically, the idea is to build a new action here that automatically moves a PR on the project board over to the "Changes Requested" column whenever a reviewer actually requests changes. Should save some manual clicking and keep the board up-to-date, right?
My plan would be to make an action that triggers on the pull_request_review event (specifically when changes are requested). It would then use the GraphQL API to find the PR's item on the board and flip its status field to whatever we configure as "Changes Requested". We'd need inputs like the project ID and maybe the exact names for the status field and the option. Seems like a useful bit of automation from that list. Does that sound like a decent approach? Happy to give it a shot if you think it makes sense.
Cheers!