ci: update schedule for locking inactive issues (#32698)

PR Close #32698
This commit is contained in:
Joey Perrott 2019-09-16 07:22:44 -07:00 committed by Andrew Kushnir
parent a2e890e4f7
commit d2bf8fac5b
1 changed files with 4 additions and 7 deletions

View File

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