2023-07-06 15:28:50 +02:00
|
|
|
name: Close stale issues and PRs # https://github.com/actions/stale
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
2023-09-13 17:18:33 +02:00
|
|
|
- cron: '*/30 * * * *' # Every 30 mins
|
2023-07-06 15:28:50 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v8
|
|
|
|
with:
|
|
|
|
# stale rules
|
|
|
|
days-before-stale: 60
|
2023-07-06 15:32:11 +02:00
|
|
|
days-before-pr-stale: 7
|
2023-07-06 15:28:50 +02:00
|
|
|
stale-issue-label: stale
|
|
|
|
stale-issue-message: "This issue has been automatically marked as stale because it has not had any activity for 60 days."
|
|
|
|
|
|
|
|
# close rules
|
|
|
|
# days after being marked as stale to close
|
|
|
|
days-before-close: 30
|
|
|
|
close-issue-label: closed-stale
|
2023-07-06 15:32:47 +02:00
|
|
|
close-issue-message: This issue has been automatically closed it has not had any activity in 90 days."
|
2023-07-06 15:28:50 +02:00
|
|
|
days-before-pr-close: 7
|
|
|
|
|
|
|
|
# exemptions
|
|
|
|
exempt-pr-labels: pinned,security,roadmap
|
|
|
|
|
|
|
|
|