2023-03-13 22:37:35 +01:00
|
|
|
name: Close inactive issues
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-03-14 00:03:08 +01:00
|
|
|
- cron: "10 23 * * *"
|
2023-03-13 22:37:35 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
close-issues:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v5
|
|
|
|
with:
|
2023-03-13 23:39:21 +01:00
|
|
|
stale-issue-message: ""
|
2023-03-27 20:12:43 +02:00
|
|
|
close-issue-message: "This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below."
|
2023-03-13 23:20:18 +01:00
|
|
|
days-before-issue-stale: 30
|
2023-03-14 00:03:08 +01:00
|
|
|
days-before-issue-close: 0
|
2023-03-13 22:37:35 +01:00
|
|
|
stale-issue-label: "stale"
|
|
|
|
days-before-pr-stale: -1
|
|
|
|
days-before-pr-close: -1
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|