diff options
author | Roey Prat <roey.prat@redislabs.com> | 2020-06-29 10:34:46 +0300 |
---|---|---|
committer | Roey Prat <roey.prat@redislabs.com> | 2020-06-29 10:53:00 +0300 |
commit | 67ae97addcb8344554f703d8ec6e0b7433b84f71 (patch) | |
tree | 95dc44b2f8800ec607707bd4091bc390713427c9 /.github | |
parent | 7e466f7bee41d88e01d22e3a4c904e0e578630c9 (diff) | |
download | redis-py-67ae97addcb8344554f703d8ec6e0b7433b84f71.tar.gz |
mark and close stale issues and PRsroey-stale_issues
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/stale-issues.yml | 20 |
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 |