feat: add issue labeler workflow with configuration

This commit is contained in:
Dr-Blank 2024-09-17 00:06:53 -04:00
parent 39286d9e10
commit fd42ee2343
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
2 changed files with 22 additions and 0 deletions

2
.github/labeler.yml vendored Normal file
View file

@ -0,0 +1,2 @@
needs triage:
- "/.*/"

20
.github/workflows/issue-labeler.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: New issue labeler
on:
# Runs on newly opened issues
issues:
types: [opened]
# Sets permissions of the GITHUB_TOKEN
permissions:
issues: write
contents: read
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.4
with:
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
repo-token: "${{secrets.GITHUB_TOKEN}}"