esphome/.github/workflows/lock.yml

30 lines
522 B
YAML
Raw Normal View History

2022-09-06 05:48:01 +02:00
---
2021-09-14 10:35:37 +02:00
name: Lock
2022-09-06 05:48:01 +02:00
# yamllint disable-line rule:truthy
2021-09-14 10:35:37 +02:00
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:
2023-09-13 00:06:32 +02:00
- uses: dessant/lock-threads@v4.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