Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bishalrai96 authored Jul 21, 2021
1 parent 0fb5361 commit 4d3e138
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# Card-automation

I don't know what I am doing
Automate project card movement when an issue is labeled. A card will only move within a project that it is already assigned to.

How to use:
```yml
on:
issues:
types: [labeled]

jobs:
automate-issues-labels:
runs-on: ubuntu-latest
steps:
- name: Move to In Progress
uses: bishalrai96/Project_Card_Automation@master
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
label: "in progress"
column: "In Progress"
remove-label: "test, review, ready"

```

Expected Inputs

| Input | Description | Optional |
| ------------- | ---------------------------------------------------------------------- | -------- |
| repo-token | Github repo token | No |
| label | label that triggers the the whole action | No |
| column | destination column | No |
| remove-label | label to remove when a card has been removed to the destination column | Yes |

0 comments on commit 4d3e138

Please sign in to comment.