mergeable
mergeable copied to clipboard
[Feature Request] Add project block to Actions so we can add a issue and pull_request to a specific project
Feature Request - Add capability to assign a pull request and issue to a Project
Hello all, this is a Feature Request!
What I'd like to accomplish is to add the project
block to Actions so we can add a issue and pull_request to a specific project.
It could be added to the already existent assign
block and just add a project
optional input.
This would be very helpful to automate the project allocation of specific tasks to projects based on previous validations (labels, for example).
It could be deployed something as this, while reusing the existent assign
block:
- do: assign
assignees: [ 'shine2lay', 'jusx', '@author' ] # only array accepted, use @author for PR/Issue author
project: ['backlog', 'foo','bar'] # the project names to add the pull_request and/or issue.
status: "Todo" # the status of the pull_request and/or issue. Defaults to "Todo".
Or it also could be done in a new one:
- do: assign_project
project: ['backlog', 'foo','bar'] # the project names to add the pull_request and/or issue.
status: "Todo" # the status of the pull_request and/or issue. Defaults to "Todo".
@dgteixeira I am in favor of the latter method so there is a clean separation
@shine2lay, thanks for the response!
Yeah, I believe that is the correct approach as well, following the other implementations that have been done in this project :)