Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ineshbose/project-card-action

GitHub Action for moving issue cards on Project Boards across columns.
https://github.com/ineshbose/project-card-action

actions github-actions github-project-board github-projects project-board

Last synced: 11 days ago
JSON representation

GitHub Action for moving issue cards on Project Boards across columns.

Awesome Lists containing this project

README

        

# Project Card Action

A [GitHub Action](https://help.github.com/en/actions) that moves *issue* cards in your [project boards](https://docs.github.com/en/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards), without having to specify the board and column names, from a workflow. **This project is in BETA. Please report bugs if encountered.**

## Usage

```yml
name: Move card

on:
# refer https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#issues
issues:
types: [assigned]
# refer https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#issue_comment
issue_comment:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: ineshbose/project-card-action@v1
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
TARGET_COLUMN: 'Review'
```


Argument
Required
Default
Description


GH_TOKEN
Yes

GitHub Token required to make changes. You can use ${{ secrets.GITHUB_TOKEN }}.


ISSUE_NUMBER
Yes

The issue number that the card is connected to.


PROJECT_NAME
No

The project/board where the card should be. The action searches through all projects/boards otherwise.


SOURCE_COLUMN
No

The column where the card should be. The action searches through all columns otherwise.


TARGET_COLUMN
Yes

The column where the card should be moved.


CARD_POSITION
No
bottom
The position of the card in the target column.