-
-
Notifications
You must be signed in to change notification settings - Fork 184
30 lines (26 loc) · 1.11 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
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: '30 1 * * *'
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Marking the Issue as stale, it will be closed in 7 days if no more activity is seen'
close-issue-message: 'Closing the Issue because it is marked as stale'
stale-pr-message: 'Marking the PR as stale, it will be closed in 7 days if no more activity is seen'
close-pr-message: 'Closing the PR because it is marked as stale'
stale-issue-label: stale
exempt-issue-labels: help wanted,docs,enhancement,feature,dependencies,Distribution support,discussion,released on @beta,released on @master,keep,breaking
days-before-stale: 30
days-before-close: 7
remove-stale-when-updated: true