chore: add triage label (#14869)

This commit is contained in:
Marko 2023-02-01 20:48:30 +01:00 committed by GitHub
parent 21021b8378
commit 201248e436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 1 deletions

2
.github/issue_labeler.yml vendored Normal file
View File

@ -0,0 +1,2 @@
triage: # if no label is set then set triage
- ''

14
.github/workflows/issue_labeler.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: "Issue Labeler"
on:
issues:
types: [opened]
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v2.6
if: join(github.event.issue.labels) == ''
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/issue_labeler.yml

View File

@ -14,4 +14,5 @@ jobs:
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/pr_labeler.yml
repo-token: "${{ secrets.GITHUB_TOKEN }}"