From d2bf8fac5b1a0e277411727f402dd8d711801cf7 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Mon, 16 Sep 2019 07:22:44 -0700 Subject: [PATCH] ci: update schedule for locking inactive issues (#32698) PR Close #32698 --- .github/workflows/lock-closed.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lock-closed.yml b/.github/workflows/lock-closed.yml index ac6ade43fb..894a1087ea 100644 --- a/.github/workflows/lock-closed.yml +++ b/.github/workflows/lock-closed.yml @@ -1,17 +1,14 @@ -name: Lock issues that are closed and inactive +name: Lock Inactive Issues on: schedule: - # Run at the 20th and 50th 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,50 * * * *' + # Run at 16:00 every day + - cron: '0 16 * * *' jobs: lock_closed: runs-on: ubuntu-latest steps: - - uses: angular/dev-infra/github-actions/lock-closed@a4fd924 + - uses: angular/dev-infra/github-actions/lock-closed@66462f6 with: lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }} - locks-per-execution: 100