mirror of
https://github.com/lannonbr/issue-label-manager-action.git
synced 2025-06-28 14:24:13 +00:00
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
12
README.md
12
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:
|
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
|
```yaml
|
||||||
steps:
|
on: issues
|
||||||
- name: "Check & Modify Labels"
|
name: Create Default Labels
|
||||||
uses: lannonbr/issue-label-manager-action@2.0.0
|
jobs:
|
||||||
|
labels:
|
||||||
|
name: DefaultLabelsActions
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@1.0.0
|
||||||
|
- uses: lannonbr/issue-label-manager-action@2.0.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue