Lock closed issues and PRs #77
This file contains hidden or 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 issues and PRs | |
| on: | |
| schedule: | |
| - cron: "30 0 * * *" # Run daily at 00:30 UTC | |
| workflow_dispatch: | |
| # Deny by default; the lock job opts in to exactly what the reusable workflow needs. | |
| permissions: {} | |
| jobs: | |
| lock: | |
| permissions: | |
| issues: write # issues.lock on closed issues | |
| pull-requests: write # issues.lock on closed pull requests | |
| uses: esphome/workflows/.github/workflows/lock.yml@0fdd5e311b7e744069166696072a1a9cbc5fbeb6 # 2026.8.1 |