You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
chore(actions): add action to close stale issues (#3000)
This commit is contained in:
committed by
GitHub
parent
5d205cf161
commit
2b3140bb72
25
.github/workflows/stale-issues.yml
vendored
Normal file
25
.github/workflows/stale-issues.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: "Close stale issues"
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
permissions:
|
||||||
|
issues: write # to close stale issues (actions/stale)
|
||||||
|
pull-requests: write # to close stale PRs (actions/stale)
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v9
|
||||||
|
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
|
Reference in New Issue
Block a user