summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoey Prat <roey.prat@redislabs.com>2020-06-29 19:07:03 +0300
committerGitHub <noreply@github.com>2020-06-29 19:07:03 +0300
commit460c981080992256fa1ca3d1e51f9717ab29255c (patch)
treea4381f4172b13577a77b3c9ce7c37f2d94692f0d
parentd71379186e75441909657cd2f6395e89583078fd (diff)
parent67ae97addcb8344554f703d8ec6e0b7433b84f71 (diff)
downloadredis-py-460c981080992256fa1ca3d1e51f9717ab29255c.tar.gz
Merge pull request #1358 from andymccurdy/roey-stale_issues
mark and close stale issues and PRs
-rw-r--r--.github/workflows/stale-issues.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml
new file mode 100644
index 0000000..562cd58
--- /dev/null
+++ b/.github/workflows/stale-issues.yml
@@ -0,0 +1,20 @@
+name: "Close stale issues"
+on:
+ schedule:
+ - cron: "0 0 * * *"
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v3
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ stale-issue-message: 'This issue is marked stale. It will be closed in 30 days if it is not updated.'
+ stale-pr-message: 'This pull request is marked stale. It will be closed in 30 days if it is not updated.'
+ days-before-stale: 365
+ days-before-close: 30
+ stale-issue-label: "Stale"
+ stale-pr-label: "Stale"
+ operations-per-run: 10
+ remove-stale-when-updated: true