Skip to content

Commit a170e8b

Browse files
author
Tamás Russ
authored
fix: stale issue action
1 parent 29d4f7f commit a170e8b

File tree

3 files changed

+14
-29
lines changed

3 files changed

+14
-29
lines changed

.github/workflows/stale-issues-cron.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/stale-issues-manual.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/stale-issues.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,27 @@
55
name: Mark stale issues
66

77
on:
8-
workflow_call:
9-
secrets:
10-
TOKEN_FOR_STALE_ISSUES:
11-
required: true
8+
workflow_dispatch:
9+
schedule:
10+
- cron: '0 19 * * *'
1211

1312
jobs:
1413
stale:
1514
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
1617

1718
steps:
1819
- uses: actions/stale@v5
1920
with:
20-
debug-only: false
21-
repo-token: ${{ secrets.TOKEN_FOR_STALE_ISSUES }}
21+
repo-token: ${{ secrets.GITHUB_TOKEN }}
22+
2223
days-before-stale: 60
24+
days-before-close: -1
25+
days-before-pr-stale: -1
26+
days-before-pr-close: -1
27+
2328
stale-issue-label: 'stale'
24-
days-before-close: -1 # `-1` disables closing
2529
stale-issue-message: |
2630
Hello there,
2731
@@ -35,3 +39,6 @@ jobs:
3539
3640
Remember, our project thrives on community contributions, and your input matters. We're here to collaborate and improve.
3741
Thank you for being part of this journey!
42+
43+
44+

0 commit comments

Comments
 (0)