mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-06 02:59:28 +00:00
feat: add issue labeler workflow with configuration
This commit is contained in:
parent
39286d9e10
commit
fd42ee2343
2 changed files with 22 additions and 0 deletions
2
.github/labeler.yml
vendored
Normal file
2
.github/labeler.yml
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
needs triage:
|
||||
- "/.*/"
|
||||
20
.github/workflows/issue-labeler.yml
vendored
Normal file
20
.github/workflows/issue-labeler.yml
vendored
Normal 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}}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue