Skip to content

Commit

Permalink
Create issue-label.yml (#1000)
Browse files Browse the repository at this point in the history
* Create issue-label.yml

* Create issue-autolabel.yml
  • Loading branch information
teolemon committed Jan 22, 2022
1 parent 8adcc60 commit bf977a5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/issue-autolabel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Add/remove 'critical' label if issue contains the words 'urgent' or 'critical'
critical:
- '(critical|urgent)'
15 changes: 15 additions & 0 deletions .github/workflows/issue-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Issue Labeler"
on:
issues:
types: [opened, edited]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v2.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/issue-labeler.yml
not-before: 2020-01-15T02:54:32Z
enable-versioned-regex: 0

0 comments on commit bf977a5

Please sign in to comment.