You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,21 +99,17 @@ jobs:
99
99
runs-on: ubuntu-latest
100
100
steps:
101
101
- uses: actions/labeler@v4
102
-
with:
103
-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
104
102
```
105
103
106
-
_Note: This grants access to the `GITHUB_TOKEN` so the action can make calls to GitHub's rest API_
107
-
108
104
#### Inputs
109
105
110
106
Various inputs are defined in [`action.yml`](action.yml) to let you configure the labeler:
111
107
112
108
| Name | Description | Default |
113
109
| - | - | - |
114
-
| `repo-token` | Token to use to authorize label changes. Typically the GITHUB_TOKEN secret, with `contents:read` and `pull-requests:write` access | N/A |
110
+
| `repo-token` | Token to use to authorize label changes. Typically the GITHUB_TOKEN secret, with `contents:read` and `pull-requests:write` access | `github.token` |
115
111
| `configuration-path` | The path to the label configuration file | `.github/labeler.yml` |
116
-
| `sync-labels` | Whether or not to remove labels when matching files are reverted or no longer changed by the PR | `false`
112
+
| `sync-labels` | Whether or not to remove labels when matching files are reverted or no longer changed by the PR | `false`|
0 commit comments