angular-docs-cn/.github/workflows/lock-closed.yml

18 lines
521 B
YAML
Raw Normal View History

name: Lock issues that are closed and inactive
on:
schedule:
# Run at the 20th minute of every hour, we are running with high frequency
# while clearing the backlog of inactive locked issues/prs. Long term we
# will run this task once per day.
- cron: '20 * * * *'
jobs:
lock_closed:
runs-on: ubuntu-latest
steps:
- uses: angular/dev-infra/github-actions/lock-closed@7f7ef07
with:
lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }}
locks-per-execution: 100