-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (36 loc) · 1.63 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
---
name: stale
on:
schedule:
- cron: 30 1 * * *
workflow_call:
permissions:
issues: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.action }}
cancel-in-progress: true
jobs:
stale:
runs-on: ubuntu-latest
steps:
# Config Options: https://github.com/actions/stale#list-of-input-options
- uses: actions/stale@5ebf00ea0e4c1561e9b43a292ed34424fb1d4578 # tag=v6
with:
days-before-stale: 14
days-before-close: 5
close-issue-message: 🤖 This has been flagged as stale. If it is still relevant please post an update with context.
close-pr-message: 🤖 This is being marked as stale due to no recent activity. Reopening will require project contributor to reopen.
# stale-issue-message: 🤖 This has been flagged as stale. If it is still relevant please post an update with context, otherwise this will shortly be closed. _You can always reopen a closed issue. This is not a permanent delete._
# stale-pr-message: 🤖 This is being marked as stale due to no recent activity. Update to keep this open.
stale-issue-label: stale
exempt-issue-labels: pinned, security, dependencies
exempt-pr-labels: pinned, security, dependencies
stale-pr-label: stale
close-issue-label: stale-closed
close-pr-label: stale-closed
exempt-draft-pr: true
delete-branch: false
ignore-pr-updates: true # else renovate prs will never age out
labels-to-remove-when-unstale: stale, stale-issue, stale-closed
enable-statistics: true