Update example YAML in README (#11)
* Update example YAML in README as seen in #7 * Update README.md Pin version of issue-label-manager-action Co-Authored-By: Benjamin Lannon <benjamin@lannonbr.com>
This commit is contained in:
parent
56bf52020f
commit
2e07e1d2e6
1 changed files with 11 additions and 5 deletions
10
README.md
10
README.md
|
@ -19,9 +19,15 @@ If a label doesn't need a description, leave out the `description` field of the
|
|||
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:
|
||||
|
||||
```yaml
|
||||
on: issues
|
||||
name: Create Default Labels
|
||||
jobs:
|
||||
labels:
|
||||
name: DefaultLabelsActions
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Check & Modify Labels"
|
||||
uses: lannonbr/issue-label-manager-action@2.0.0
|
||||
- uses: actions/checkout@1.0.0
|
||||
- uses: lannonbr/issue-label-manager-action@2.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue