-
-
Notifications
You must be signed in to change notification settings - Fork 98
25 lines (20 loc) · 1.06 KB
/
label-issue.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
name: Label Issue
on:
issues:
types: [labeled]
jobs:
reply-labeled:
runs-on: ubuntu-latest
steps:
- name: Label needs reproduction
if: github.event.label.name == 'Needs Reproduction'
uses: peter-evans/close-issue@v3
with:
close-reason: not_planned
comment: |
Hello @${{ github.event.issue.user.login }}.
Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using [StackBlitz](https://stackblitz.com), [TypeScript Playground](https://www.typescriptlang.org/play) (for type issues), or a separate minimal GitHub repository.
Minimal reproductions are required as they save us a lot of time reproducing your config & environment, and trying to reproduce your issue. See [Why reproductions are required](https://antfu.me/posts/why-reproductions-are-required).
Please reopen this issue when a reproduction is added.
issue-number: ${{ github.event.issue.number }}
token: ${{ secrets.GITHUB_TOKEN }}