esphome/.github/workflows/lock.yml

29 lines
486 B
YAML
Raw Normal View History

2022-09-06 05:48:01 +02:00
---
2021-09-14 10:35:37 +02:00
name: Lock
on:
schedule:
2022-09-06 05:48:01 +02:00
- cron: "30 0 * * *"
2021-09-14 10:35:37 +02:00
workflow_dispatch:
permissions:
issues: write
pull-requests: write
concurrency:
group: lock
2021-09-14 10:35:37 +02:00
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5.0.1
2021-09-14 10:35:37 +02:00
with:
pr-inactive-days: "1"
2021-09-14 10:35:37 +02:00
pr-lock-reason: ""
exclude-any-pr-labels: keep-open
issue-inactive-days: "7"
issue-lock-reason: ""
exclude-any-issue-labels: keep-open