fix: Move from deprecated stale bot to stale action

This commit is contained in:
Ilkka Seppälä committed 2025-01-05 17:23:11 +02:00
1 parent 8938054691
commit eb7a0dff55
2 files changed
+19 -61

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
name: 'Comment on stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity.'
close-issue-message: 'This issue was closed because it has been stalled for too long with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for too long with no activity.'
days-before-issue-stale: 60
days-before-pr-stale: 60
days-before-issue-close: -1
days-before-pr-close: -1