2019-09-05 13:41:18 -04:00
|
|
|
name: Lock issues that are closed and inactive
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2019-09-12 10:32:09 -04:00
|
|
|
# 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 * * * *'
|
2019-09-05 13:41:18 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lock_closed:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2019-09-12 10:32:09 -04:00
|
|
|
- uses: angular/dev-infra/github-actions/lock-closed@a4fd924
|
2019-09-05 13:41:18 -04:00
|
|
|
with:
|
|
|
|
lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }}
|
2019-09-05 16:52:24 -04:00
|
|
|
locks-per-execution: 100
|