Add labeled to readme

This commit is contained in:
Jonathan Clem
2022-01-31 15:46:31 -05:00
parent f3decd19c0
commit 5ab1dce1a1

View File

@@ -19,12 +19,17 @@ jobs:
with:
project-url: https://github.com/orgs/<orgName>/projects/<projectNumber>
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: bug
```
Note that the `github-token` input must be a personal access token with
`read:org`, `write:org` (to get and update projects) and `repo` scope (for
adding repo issues to the project).
The `labeled` key is optional, and if specified, the action will only add issues
that have at least one of the specified labels. This should be a comma-delimited
string of label names.
## Code in Main
> First, you'll need to have a reasonably modern version of `node` handy. This won't work with versions older than 9, for instance.