From bab130482f3d177a5ecf31d8c2cea14fb04f8855 Mon Sep 17 00:00:00 2001 From: David Kale Date: Tue, 8 Sep 2020 14:49:21 -0400 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a76435c..e8fa96e 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,19 @@ jobs: triage: runs-on: ubuntu-latest steps: - - uses: actions/labeler@v2 + - uses: actions/labeler@main with: repo-token: "${{ secrets.GITHUB_TOKEN }}" ``` _Note: This grants access to the `GITHUB_TOKEN` so the action can make calls to GitHub's rest API_ + +#### Inputs + +Various inputs are defined in [`action.yml`](action.yml) to let you configure the labeler: + +| Name | Description | Default | +| - | - | - | +| `repo-token` | Token to use to authorize label changes. Typically the GITHUB_TOKEN secret | N/A | +| `configuration-path` | The path to the label configuration file | `.github/labeler.yml` | +| `sync-labels` | Whether or not to remove labels when matching files are reverted or no longer changed by the PR | `false`