mirror of
https://github.com/esphome/esphome.git
synced 2026-08-18 03:59:08 +08:00
18 lines
493 B
YAML
18 lines
493 B
YAML
---
|
|
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@9f6577fd37b5cf773ab1b9be929714a0dcd15661 # 2026.7.0
|