-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: declaratively setup labels using lannonbr/issue-label-manager-action
- Loading branch information
1 parent
00377c2
commit 0e32b1e
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[ | ||
{ | ||
"name": "bug", | ||
"color": "d73a4a", | ||
"description": "Something isn't working" | ||
}, | ||
{ | ||
"name": "dependencies", | ||
"color": "d73a4a", | ||
"description": "Pull requests that update a dependency file" | ||
}, | ||
{ | ||
"name": "documentation", | ||
"color": "d73a4a", | ||
"description": "Improvements or additions to documentation" | ||
}, | ||
{ | ||
"name": "duplicate", | ||
"color": "cfd3d7", | ||
"description": "This issue or pull request already exists" | ||
}, | ||
{ | ||
"name": "enhancement", | ||
"color": "a2eeef", | ||
"description": "New feature or request" | ||
}, | ||
{ | ||
"name": "good first issue", | ||
"color": "7057ff", | ||
"description": "Good for newcomers" | ||
}, | ||
{ | ||
"name": "help wanted", | ||
"color": "008672", | ||
"description": "Needs help from the community / Extra attention is needed" | ||
}, | ||
{ | ||
"name": "invalid", | ||
"color": "e4e669", | ||
"description": "Not resolvable in any way / This doesn't seem right" | ||
}, | ||
{ | ||
"name": "question", | ||
"color": "d876e3", | ||
"description": "Contains a question that needs to be answered / Further information is requested." | ||
}, | ||
{ | ||
"name": "wontfix", | ||
"color": "ffffff", | ||
"description": "This will not be worked on" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"on": | ||
issues: | ||
|
||
name: Ensure declared labels are created | ||
|
||
jobs: | ||
labels: | ||
name: Invoke issue-label-manager action | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@1.0.0 | ||
- uses: lannonbr/issue-label-manager-action@3.0.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
delete: true # will delete any labels that aren't in the .github/labels.json (this is set to false by default) |