esphome/.github/workflows/lock.yml

30 lines
518 B
YAML
Raw Permalink 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:
- uses: dessant/lock-threads@v3
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