Skip to content

Commit eb24c80

Browse files
authored
remove mark-legacy-issues as it might interfere with the stale job
1 parent e68fb48 commit eb24c80

File tree

1 file changed

+12
-34
lines changed

1 file changed

+12
-34
lines changed

.github/workflows/stale.yml

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ on:
55
# schedule:
66
# - cron: '0 4 * * *' # 04:00 UTC
77
# - 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+
917
workflow_dispatch:
1018

1119
jobs:
@@ -40,39 +48,9 @@ jobs:
4048
This issue is being automatically closed due to prolonged inactivity.
4149
If you believe this issue is still relevant, please open a new issue with updated details.
4250
exempt-issue-labels: 'pinned,security,keep-alive'
43-
debug-only: false
51+
debug-only: true
4452
enable-statistics: true
4553
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
7855

56+

0 commit comments

Comments
 (0)