2022-01-22 23:27:34 +01:00
|
|
|
name: Close issue/PR if no reply
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '30 1 * * *'
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v4
|
|
|
|
with:
|
2022-02-07 21:58:36 +01:00
|
|
|
days-before-stale: 15
|
|
|
|
days-before-close: 15
|
2022-01-22 23:27:34 +01:00
|
|
|
only-labels: 'Awaiting reply'
|
|
|
|
stale-issue-label: 'Still awaiting reply'
|
|
|
|
stale-pr-label: 'Still awaiting reply'
|
2022-02-07 21:58:36 +01:00
|
|
|
stale-issue-message: "This issue will be closed when we don't get a reply within 15 days."
|
|
|
|
stale-pr-message: "This PR will be closed when we don't get a reply within 15 days."
|
2022-01-22 23:27:34 +01:00
|
|
|
labels-to-remove-when-unstale: 'Awaiting reply'
|
|
|
|
close-issue-label: "Close reason: no reply"
|
|
|
|
close-pr-label: "Close reason: no reply"
|
2022-02-07 21:58:36 +01:00
|
|
|
close-issue-message: "This issue was closed because we didn't get a reply for 30 days."
|
|
|
|
close-pr-message: "This PR was closed because we didn't get a reply for 30 days."
|