From 5ab1dce1a1b1e95810a7c9adbec36deaeec809dc Mon Sep 17 00:00:00 2001 From: Jonathan Clem Date: Mon, 31 Jan 2022 15:46:31 -0500 Subject: [PATCH] Add labeled to readme --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 96ce561..ff921c6 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,17 @@ jobs: with: project-url: https://github.com/orgs//projects/ 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.