Commit 9bf390da authored by yan.yan's avatar yan.yan
Browse files

limit number of closed issues per day.

parent fb8b4722
...@@ -3,6 +3,14 @@ name: 'Close stale issues and PRs' ...@@ -3,6 +3,14 @@ name: 'Close stale issues and PRs'
on: on:
schedule: schedule:
- cron: '30 1 * * *' - cron: '30 1 * * *'
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'trigger issue autoclose manually'
permissions: permissions:
issues: write issues: write
...@@ -16,4 +24,7 @@ jobs: ...@@ -16,4 +24,7 @@ jobs:
with: with:
stale-issue-message: '' stale-issue-message: ''
stale-pr-message: '' stale-pr-message: ''
operations-per-run: 500 operations-per-run: 30
days-before-close: 0
days-before-stale: 60
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment