Lock closed inactive issues #286
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lock closed inactive issues | |
on: | |
schedule: | |
# Run at 16:00 every day | |
- cron: '0 16 * * *' | |
# Declare default permissions as read only. | |
permissions: | |
contents: read | |
jobs: | |
lock_closed: | |
if: github.repository == 'angular/angular' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: angular/dev-infra/github-actions/lock-closed@a9312d38d24c94636b7e135b58828c5732eb5212 | |
with: | |
lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }} |