Update README.md

This commit is contained in:
Benjamin Lannon 2018-12-12 20:06:00 -05:00 committed by GitHub
commit 10a9d12869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,3 +11,14 @@ Then, set up a workflow that executes this action. When run, it will update the
The result of using the labels.json file shown above is as follows: The result of using the labels.json file shown above is as follows:
![Labels result](screenshots/labels.png) ![Labels result](screenshots/labels.png)
## Usage
This action only needs the GITHUB_TOKEN secret as it interacts with the GitHub API to modify labels. The action can be used as such:
```hcl
action "Update Label" {
uses = "lannonbr/issue-label-manager-action@master"
secrets = ["GITHUB_TOKEN"]
}
```