2022-06-10 05:33:48 +02:00
|
|
|
|
---
|
2024-01-23 19:24:52 +01:00
|
|
|
|
name: Staleness
|
2022-06-10 05:33:48 +02:00
|
|
|
|
on:
|
|
|
|
|
workflow_dispatch:
|
2024-01-23 19:24:52 +01:00
|
|
|
|
schedule: # Run once a day at 5.23am (arbitrary but should avoid peak loads on the hour)
|
|
|
|
|
- cron: "23 5 * * *"
|
2022-06-10 05:33:48 +02:00
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
stale:
|
2024-01-23 19:24:52 +01:00
|
|
|
|
name: Check for stale issues and PRs
|
|
|
|
|
runs-on: ubuntu-22.04
|
2022-06-10 05:33:48 +02:00
|
|
|
|
steps:
|
2024-01-23 19:24:52 +01:00
|
|
|
|
- name: Check
|
2023-07-14 16:11:26 +02:00
|
|
|
|
uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
|
2022-06-10 05:33:48 +02:00
|
|
|
|
with:
|
2024-01-23 19:24:52 +01:00
|
|
|
|
stale-issue-label: "needs-reply"
|
|
|
|
|
stale-pr-label: "needs-changes"
|
|
|
|
|
days-before-stale: -1 # Do not apply the stale labels automatically, this is a manual process
|
|
|
|
|
days-before-issue-close: 14 # Close issue if no further activity after X days
|
|
|
|
|
days-before-pr-close: 21 # Close PR if no further activity after X days
|
2022-06-10 05:33:48 +02:00
|
|
|
|
close-issue-message: |
|
|
|
|
|
We need more information before we can help you with your problem. As we haven’t heard from you recently, this issue will be closed.
|
|
|
|
|
|
|
|
|
|
If this happens again or continues to be an problem, please respond to this issue with the information we’ve requested and anything else relevant.
|
|
|
|
|
close-pr-message: |
|
|
|
|
|
We can’t merge your pull request until you make the changes we’ve requested. As we haven’t heard from you recently, this pull request will be closed.
|
|
|
|
|
|
|
|
|
|
If you’re still working on this, please respond here after you’ve made the changes we’ve requested and our team will re-open it for further review.
|
|
|
|
|
|
2023-12-12 21:08:12 +01:00
|
|
|
|
Please make sure to resolve any conflicts with the main branch before requesting another review.
|