-
Notifications
You must be signed in to change notification settings - Fork 20
39 lines (35 loc) · 1.27 KB
/
close-unreproduced.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
# This workflow warns and then closes issues that have not met the reproducibility requirements for a specified amount of time.
#
# For more information, see:
# https://github.com/actions/stale
name: Close unreproduced issues
on:
schedule:
- cron: '43 */12 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# stale delay:
days-before-stale: 2
days-before-pr-stale: -1
# close delay:
days-before-close: 13
days-before-pr-close: -1
# extra conditions
only-labels: 'need repro'
exempt-all-milestones: true
# stale changes:
stale-issue-label: 'stale'
stale-issue-message: 'This issue will be closed within two weeks if the requested reproduction data is not provided. Please refer to this [guide](https://github.com/nioc/xmpp-web/tree/master/docs/staging-environments/REPRODUCING.MD ).'
# close changes
close-issue-reason: not_planned
close-issue-label: 'wontfix'
close-issue-message: 'This issue has been closed since it cannot be reproduced without the data you were asked for.'