Skip to content

feat: New action to auto-move PRs to 'Changes Requested' on project board #167

@Ayushmore1214

Description

@Ayushmore1214

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions