|
5 | 5 | # schedule:
|
6 | 6 | # - cron: '0 4 * * *' # 04:00 UTC
|
7 | 7 | # - cron: '30 5 * * *' # 05:30 UTC
|
8 |
| - |
| 8 | + |
| 9 | + # Uncomment below and enable debug-only when testing changes via PR |
| 10 | + push: |
| 11 | + branches: |
| 12 | + - manage-stale-issues |
| 13 | + pull_request: |
| 14 | + branches: |
| 15 | + - manage-stale-issues |
| 16 | + |
9 | 17 | workflow_dispatch:
|
10 | 18 |
|
11 | 19 | jobs:
|
|
40 | 48 | This issue is being automatically closed due to prolonged inactivity.
|
41 | 49 | If you believe this issue is still relevant, please open a new issue with updated details.
|
42 | 50 | exempt-issue-labels: 'pinned,security,keep-alive'
|
43 |
| - debug-only: false |
| 51 | + debug-only: true |
44 | 52 | enable-statistics: true
|
45 | 53 | remove-stale-when-updated: true
|
46 |
| - operations-per-run: 500 |
47 |
| - |
48 |
| - # ---------------------------------------------------------------------------- |
49 |
| - # Job: mark-legacy-issue |
50 |
| - # Summary: |
51 |
| - # Marks open issues as "legacy" (using ignore-updates so that only the creation date is considered) |
52 |
| - # if they were created over 2 years (730 days) ago and lack exempt labels like "pinned" or "security". |
53 |
| - # ---------------------------------------------------------------------------- |
54 |
| - mark-legacy-issue: |
55 |
| - runs-on: ubuntu-latest |
56 |
| - permissions: |
57 |
| - issues: write |
58 |
| - steps: |
59 |
| - - name: Mark legacy issues using stale action |
60 |
| - uses: actions/stale@v9 |
61 |
| - with: |
62 |
| - repo-token: ${{ secrets.GITHUB_TOKEN }} |
63 |
| - ignore-updates: true |
64 |
| - days-before-issue-stale: 730 |
65 |
| - days-before-pr-stale: -1 |
66 |
| - days-before-issue-close: -1 |
67 |
| - days-before-pr-close: -1 |
68 |
| - stale-issue-label: 'legacy' |
69 |
| - stale-issue-message: > |
70 |
| - This issue was created over 2 years ago and is considered legacy. |
71 |
| - Given the extensive changes to the codebase since then, we recommend opening a new issue |
72 |
| - with updated details if this problem still affects you. |
73 |
| - exempt-issue-labels: 'pinned,security' |
74 |
| - debug-only: false |
75 |
| - enable-statistics: true |
76 |
| - remove-stale-when-updated: false |
77 |
| - operations-per-run: 500 |
| 54 | + operations-per-run: 1000 |
78 | 55 |
|
| 56 | + |
0 commit comments