mirror of
https://github.com/lannonbr/issue-label-manager-action.git
synced 2025-06-27 22:24:13 +00:00
Updating docs
This commit is contained in:
parent
9f2cc7fa2c
commit
101c3f651a
2 changed files with 7 additions and 6 deletions
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
|||
Copyright 2018 Benjamin Lannnon
|
||||
Copyright 2018-2019 Benjamin Lannnon
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
||||
software and associated documentation files (the "Software"), to deal in the Software
|
||||
|
|
11
README.md
11
README.md
|
@ -18,9 +18,10 @@ 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:
|
||||
|
||||
```hcl
|
||||
action "Update Label" {
|
||||
uses = "lannonbr/issue-label-manager-action@master"
|
||||
secrets = ["GITHUB_TOKEN"]
|
||||
}
|
||||
```yaml
|
||||
steps:
|
||||
- name: "Check & Modify Labels"
|
||||
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