Skip to content

Commit bab1304

Browse files
author
David Kale
committed
Update README.md
1 parent c45f41c commit bab1304

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,19 @@ jobs:
8888
triage:
8989
runs-on: ubuntu-latest
9090
steps:
91-
- uses: actions/labeler@v2
91+
- uses: actions/labeler@main
9292
with:
9393
repo-token: "${{ secrets.GITHUB_TOKEN }}"
9494
```
9595
9696
_Note: This grants access to the `GITHUB_TOKEN` so the action can make calls to GitHub's rest API_
97+
98+
#### Inputs
99+
100+
Various inputs are defined in [`action.yml`](action.yml) to let you configure the labeler:
101+
102+
| Name | Description | Default |
103+
| - | - | - |
104+
| `repo-token` | Token to use to authorize label changes. Typically the GITHUB_TOKEN secret | N/A |
105+
| `configuration-path` | The path to the label configuration file | `.github/labeler.yml` |
106+
| `sync-labels` | Whether or not to remove labels when matching files are reverted or no longer changed by the PR | `false`

0 commit comments

Comments
 (0)