0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00
Wurst7/.github/workflows/stale.yml

40 lines
1.7 KiB
YAML
Raw Normal View History

2023-10-13 14:37:32 +02:00
name: "Close stale issues and pull requests"
2021-12-25 18:52:31 +01:00
on:
schedule:
- cron: "30 1 * * 1-5"
2021-12-25 18:52:31 +01:00
2023-10-14 10:40:17 +02:00
permissions:
issues: write
pull-requests: write
2021-12-25 18:52:31 +01:00
jobs:
stale:
runs-on: ubuntu-latest
steps:
2024-03-25 17:09:26 +01:00
- uses: actions/stale@v9
2021-12-25 18:52:31 +01:00
with:
stale-issue-message: |
2023-10-13 14:36:32 +02:00
This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks.
2021-12-25 18:52:31 +01:00
Issues should be closed if:
2023-10-13 14:36:32 +02:00
- They are duplicates of other issues
- There is not enough demand
- They are no longer relevant
- There are not enough details
2023-10-13 14:37:32 +02:00
stale-pr-message: |
This pull request has been open for a while with no recent activity. If you're still working on this or waiting for a review, please add a comment or commit within the next 7 days to keep it open. Otherwise, the pull request will be automatically closed to free up time for other tasks.
Pull requests should be closed if:
- They have been superseded by another pull request
- They are out of scope or don't align with the project
- They have become obsolete due to other changes
- They have bugs or conflicts that won't be resolved
days-before-stale: 60
2023-10-13 14:34:59 +02:00
days-before-close: 7
2024-03-25 17:09:26 +01:00
exempt-issue-labels: "status:never-stale"
exempt-pr-labels: "status:never-stale"
2023-10-13 14:35:51 +02:00
stale-issue-label: "status:stale"
stale-pr-label: "status:stale"
2024-03-25 17:09:26 +01:00
operations-per-run: 200
enable-statistics: true