Close issues & PRs if no reply when requested (#5646)
This commit is contained in:
parent
e9e1fc14c3
commit
c09d671826
|
@ -0,0 +1,25 @@
|
||||||
|
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:
|
||||||
|
days-before-stale: 10
|
||||||
|
days-before-close: 10
|
||||||
|
only-labels: 'Awaiting reply'
|
||||||
|
stale-issue-label: 'Still awaiting reply'
|
||||||
|
stale-pr-label: 'Still awaiting reply'
|
||||||
|
labels-to-remove-when-unstale: 'Awaiting reply'
|
||||||
|
close-issue-label: "Close reason: no reply"
|
||||||
|
close-pr-label: "Close reason: no reply"
|
||||||
|
close-issue-message: "This issue was closed because we didn't get a reply for 20 days."
|
||||||
|
close-pr-message: "This pr was closed because we didn't get a reply for 20 days."
|
Loading…
Reference in New Issue