-
-
Notifications
You must be signed in to change notification settings - Fork 530
36 lines (32 loc) · 1.2 KB
/
needs-repro.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
name: Check for reproduction
on:
issues:
types: [opened, edited]
issue_comment:
types: [created, edited, deleted]
jobs:
main:
runs-on: ubuntu-latest
concurrency:
group: needs-repro-${{ github.event.issue.number }}
cancel-in-progress: true
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: 'software-mansion-labs/swmansion-bot'
ref: stable
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install Actions
run: yarn install
- name: Needs Repro
uses: ./needs-repro
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
needs-repro-label: 'Missing repro'
needs-repro-response: "Hey! 👋 \n\nThe issue doesn't seem to contain a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example).\n\nCould you provide a [snack](https://snack.expo.dev/) or a link to a GitHub repository under your username that reproduces the problem?"
repro-provided-label: 'Repro provided'
check-issues-only-created-after: 2022-01-01