forked from orval-labs/orval
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) 路 873 Bytes
/
Copy pathstale.yaml
File metadata and controls
30 lines (27 loc) 路 873 Bytes
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
name: Stale Issues
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Mark and close stale issues
uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 365
days-before-issue-close: 20
days-before-pr-stale: -1
days-before-pr-close: -1
exempt-issue-labels: 'help wanted'
stale-issue-message: >
This issue has been automatically marked as stale because it has had
no activity for 1 year. It will be closed in 20 days if no further
activity occurs.
close-issue-message: >
This issue was automatically closed after being marked stale for
20 days with no further activity.