Handling multiple projects
I have multiple projects and I want the column action to move a card is already in a project, to a specific column within that project. If the card does not have a project than no action occurs or I can send it to a "unassigned" project, if I need to have some field available.
That is a great idea. Thanks @kammce. I think this should be quite easy, we pass an array of projects and run the action for each one. Would you be interested in making a PR?
When I get free time I'll see if I can make that happen.
I have multiple projects with the same structure in my organization and I'd love if I could leave the project field empty so that it automatically moved issues to a column of the same project the issue is currently in. This way I could reuse the same yml file for all my repos and projects.
name: Move assigned issues into In progress
on:
issues:
types: [assigned]
jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: alex-page/[email protected]
with:
project: * <-- something like this or make it optional
column: In Progress
repo-token: ${{ secrets.GH_ACTIONS_TOKEN }}
My use case is similar. I have multiple projects for different teams on org level, they all have the same structure. I already automated adding issues to the To Do column in the right project based on team labels. Now I want to move cards inside the project they're already in based on combination of labels, i.g. Doing + Priority A => High Priority, Doing + Priority B/Priority C => Low Priority. Is there a way to do it?