aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/stale.yml
blob: 10f193056f0ae393ab090ba8ef37547072861776 (plain)
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: "Close Stale Issues & PRs"
on:
  workflow_dispatch:
  schedule:
    - cron: "0 21 * * *"
    
permissions:
  issues: write
  pull-requests: write

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
      - name: Close Stale Issues
        uses: actions/stale@v7.0.0
        with:
#          stale-issue-message: |
#            Hello!
#            
#            I am marking this issue as stale as it has not received any engagement from the community or maintainers 120 days. That does not imply that the issue has no merit! If you feel strongly about this issue
#            - open a PR referencing and resolving the issue;
#            - leave a comment on it and discuss ideas how you could contribute towards resolving it;
#            - leave a comment and describe in detail why this issue is critical for your use case;
#            - open a new issue with updated details and a plan on resolving the issue.
#
#            The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone..
#
#          stale-pr-message: |
#            Hello!
#            
#            I am marking this PR as stale as it has not received any engagement from the community or maintainers 120 days. That does not imply that the issue has no merit! If you feel strongly about this issue
#            - leave a comment on it and discuss ideas how you could contribute towards resolving it;
#            - leave a comment and describe in detail why this issue is critical for your use case;
#
#           The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone..

          days-before-stale: 120
          days-before-close: -1
          exempt-draft-pr: true
          ascending: true
          operations-per-run: 1000
          exempt-issue-labels: "ignore"