summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeunes <11229646+keunes@users.noreply.github.com>2022-01-22 23:27:34 +0100
committerGitHub <noreply@github.com>2022-01-22 23:27:34 +0100
commitc09d671826a312f47ad35b8904fc7ce75bc414b4 (patch)
tree526fcb5bfca745d3a90aa8b22f532c7343d9f7d1
parente9e1fc14c38737ffd8b85a0fc799b0c4a1893030 (diff)
downloadantennapod-c09d671826a312f47ad35b8904fc7ce75bc414b4.zip
Close issues & PRs if no reply when requested (#5646)
-rw-r--r--.github/workflows/close-if-no-reply.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/close-if-no-reply.yml b/.github/workflows/close-if-no-reply.yml
new file mode 100644
index 000000000..c0c32843a
--- /dev/null
+++ b/.github/workflows/close-if-no-reply.yml
@@ -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."