From 7bbc3523ba52642eb371e7019dc0b558c930998d Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Thu, 5 Sep 2019 10:41:18 -0700 Subject: [PATCH] ci: set up angular-automatic-lock-bot for the repo (#32500) PR Close #32500 --- .github/workflows/lock-closed.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/lock-closed.yml diff --git a/.github/workflows/lock-closed.yml b/.github/workflows/lock-closed.yml new file mode 100644 index 0000000000..a8573c278d --- /dev/null +++ b/.github/workflows/lock-closed.yml @@ -0,0 +1,15 @@ +name: Lock issues that are closed and inactive + +on: + schedule: + # Run at the 20th minute of every hour + - cron: '20 * * * *' + +jobs: + lock_closed: + runs-on: ubuntu-latest + steps: + - uses: angular/dev-infra/github-actions/lock-closed@1e03b0d + with: + lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }} + locks-per-execution: 250