mirror of https://github.com/rancher/dashboard.git
Add GitHub workflow for adding triage labels
This commit is contained in:
parent
d2d4122bc0
commit
0b700d0f36
|
|
@ -0,0 +1,2 @@
|
|||
"[zube]: To Triage":
|
||||
- "(.*)"
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# Docs for this workflow are here https://github.com/github/issue-labeler
|
||||
name: Triage Labels
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
jobs:
|
||||
label_issues:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- name: Label issues
|
||||
if: "!(contains(github.event.issue.labels.*.name, '[zube]: Working') || contains(github.event.issue.labels.*.name, '[zube]: Backlog') || contains(github.event.issue.labels.*.name, '[zube]: Backend Blocked') || contains(github.event.issue.labels.*.name, '[zube]: Next Up') || contains(github.event.issue.labels.*.name, '[zube]: Review'))"
|
||||
uses: github/issue-labeler@v2.5
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: .github/labeler.yml
|
||||
enable-versioned-regex: 0
|
||||
Loading…
Reference in New Issue