-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (37 loc) · 1.35 KB
/
issue-triage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Triage Bug Reports
on:
issues:
types: [opened, labeled]
issue_comment:
types: [created]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
issues: write
jobs:
triage:
name: Bug Report Triage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run Nissuer for Issue Triage
uses: balazsorban44/[email protected]
with:
label-area-prefix: ''
label-area-match: 'name'
label-area-section: 'Bug description(.*)How to reproduce'
label-comments: |
{
"🐛 bug": ".github/comments/bug-report.md",
"missing reproduction": ".github/comments/missing-reproduction.md",
"incomplete description": ".github/comments/incomplete-description.md"
}
# Require reproduction link validation
reproduction-comment: '.github/comments/invalid-reproduction.md'
reproduction-hosts: 'github.com,bitbucket.org,gitlab.com,codesandbox.io,stackblitz.com'
reproduction-blocklist: 'github.com/\\w*/?$,github.com$'
reproduction-link-section: '### How to reproduce(.*)### Expected behavior'
reproduction-invalid-label: 'missing reproduction'
reproduction-issue-labels: '🐛 bug,'
comment-unhelpful-weight: 0.5