forked from GitTools/actions
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.4 KB
/
stale.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
40
41
42
43
name: Stale Issues
on:
workflow_dispatch:
schedule:
- cron: '0 11 * * *'
permissions:
# contents: write # only for delete-branch option
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
operations-per-run: 100
# set 'stale' label
stale-issue-label: stale
# remove 'stale' label on update
remove-issue-stale-when-updated: true
labels-to-remove-when-unstale: stale
# only stale the issues
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. After 30 days from now, it will be closed if no further
activity occurs.
close-issue-message: >
This issue was closed because it has been stalled for 30 days with no activity.
Thank you for your contributions
days-before-issue-stale: 90
days-before-issue-close: 30
# skip issues that have a milestone
exempt-all-issue-milestones: true
# skip those that are assigned
exempt-all-issue-assignees: true
# skip issues with label 'pinned'
exempt-issue-labels: pinned,security,failing test case,help wanted
# do not stale PRs
days-before-pr-stale: -1
days-before-pr-close: -1