Skip to content

Commit

Permalink
chore: added github workflow task to automatically label issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBv committed Dec 27, 2023
1 parent 8afdefa commit 57ce6f8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/config/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'1.16':
- '1\.16(?:\.\d)?'
'1.17':
- '1\.17(?:\.\d)?'
'1.18':
- '1\.18(?:\.\d)?'
'1.19':
- '1\.19(?:\.\d)?'
'1.20':
- '1\.20(?:\.\d)?'
15 changes: 15 additions & 0 deletions .github/workflows/label_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Label Issues"
on:
issues:
types: [opened, edited]

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.0
with:
configuration-path: .github/config/labels.yml
enable-versioned-regex: 0
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: 1

0 comments on commit 57ce6f8

Please sign in to comment.