forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 1.09 KB
/
issue_validator.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
name: Validate issue
on:
issues:
types: [opened, labeled]
issue_comment:
types: [created]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
issues: write
jobs:
triage:
name: Auto triage issue
runs-on: ubuntu-latest
steps:
- name: Nissuer
uses: balazsorban44/nissuer@1.5.0
with:
label-area-prefix: 'area:'
label-area-section: 'Which area\(s\) are affected\? \(Select all that apply\)(.*)### Additional context'
label-comments: |
{
"please add a complete reproduction": ".github/invalid-reproduction.md",
"please simplify reproduction": ".github/simplify-reproduction.md",
"please verify canary": ".github/verify-canary.md"
}
reproduction-comment: '.github/invalid-link.md'
reproduction-hosts: 'github.com,codesandbox.io'
reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce'
reproduction-invalid-label: 'invalid link'
reproduction-issue-labels: 'template: bug'