forked from jasonmeisel/v-hacd-unity
-
Notifications
You must be signed in to change notification settings - Fork 25
27 lines (24 loc) · 1.01 KB
/
stale.yaml
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
name: 'Stale issue handler'
on:
workflow_dispatch:
schedule:
- cron: '0 17 * * *' # 17:00 UTC; 10:00 PDT
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
id: stale
with:
stale-issue-label: 'stale'
stale-issue-message: 'This issue has been marked stale because it has been open for 14 days with no activity. Please remove the stale label or comment on this issue, or the issue will be automatically closed in the next 14 days.'
days-before-stale: 14
days-before-pr-stale: -1
days-before-close: 14
days-before-pr-close: -1
exempt-issue-labels: 'blocked,must,should,keep,pinned,work-in-progress,request,announcement'
close-issue-message: 'This issue has been marked stale for 14 days and will now be closed. If this issue is still valid, please ping a maintainer.'
- name: Print outputs
run: echo ${{ join(steps.stale.outputs.*, ',') }}