Parent directory

stale.yml

2372 bytes
 1name: 'Close stale issues and PRs'
 2
 3permissions:
 4  issues: write
 5  pull-requests: write
 6  actions: write
 7
 8on:
 9  schedule:
10    - cron: '30 1 * * *'
11  workflow_dispatch:
12
13jobs:
14  stale:
15    runs-on: ubuntu-latest
16    steps:
17      - uses: actions/stale@main
18        with:
19          repo-token: ${{ secrets.GITHUB_TOKEN }}
20
21          remove-stale-when-updated: true
22          exempt-draft-pr: true
23          ascending: true
24          operations-per-run: 150
25
26          stale-issue-label: stale
27          days-before-issue-stale: 90
28          days-before-issue-close: 30
29          exempt-issue-labels: bug,in progress,on hold,discussion,to do
30
31          stale-issue-message: >
32            This issue has been automatically marked as stale because it has not had activity in the
33            last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity
34            occurs.
35
36            For maintainers: Please label with `bug`, `in progress`, `on hold`, `discussion` or `to do` to prevent
37            the issue from being re-flagged.
38
39          close-issue-message: >
40            This issue has been automatically closed because it has not had activity in the last 30 days.
41            If this issue is still valid, re-open the issue and let us know.
42
43            // [stale-action-closed]
44
45          stale-pr-label: stale
46          days-before-pr-stale: 45
47          days-before-pr-close: 30
48          exempt-pr-labels: bug,awaiting review,breaking_change,in progress,on hold
49
50          stale-pr-message: >
51            Thank you for your contribution!
52
53            This pull request has been automatically marked as stale because it has not had
54            activity in the last 45 days. It will be closed in 30 days if no further activity occurs.
55            Please feel free to give a status update now, or re-open when it's ready.
56
57            For maintainers: Please label with `bug`, `awaiting review`, `breaking_change`, `in progress`, or `on hold`
58            to prevent the issue from being re-flagged.
59
60          close-pr-message: >
61            Thank you for your contribution!
62
63            This pull request has been automatically closed because it has not had activity in the last 30 days.
64            Please feel free to give a status update now, ping for review, or re-open when it's ready.
65
66            // [stale-action-closed]