Moves issues' project cards to the column specified in the workflow. The issues are passed in either from workflow event triggers or manually.
This is an example of how to use this action. If the event trigger is not for an issue, you can still use this by passing in the optional issues
argument to pass in multiple issues to parse.
name: Assigned Issues Are In Progress
on:
issue:
types: [assigned]
jobs:
move-to-in-progress:
runs-on: ubuntu-latest
name: Move to In Progress Column
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Move to In Progress
uses: kin/[email protected]
with:
access-token: "#{{ secrets.GITHUB_TOKEN }}"
project-name: "My Project"
target-column: "In Progress"
access-token
: Access token for repository. Use"{{ secrets.GITHUB_TOKEN }}"
to prevent leaking secrets. This may require setting up a token with increased privileges. The token must haverepo
privileges.project-name
: Case-insensitive string matching name of the existing project the target column is intarget-column
: Case-insensitive string matching the name of the existing column the cards should be moved to.
issues
: A stringified array of Github issue payloads formatted[{ issue: { <webhook payload for issue } }, ...]
. Only needs to be used if the workflow event triggers are not of theissue
type.
To cotnribute, please open an Issue on the action repo: https://github.com/kin/gh-action-autoarchive-issues-for-column to discuss bugs/modifications.