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
|
|
|
|
|
2021-10-23 21:58:04 +02:00
|
|
|
concurrency:
|
|
|
|
group: lock
|
|
|
|
|
2021-09-14 10:35:37 +02:00
|
|
|
jobs:
|
|
|
|
lock:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-12-07 04:10:43 +01:00
|
|
|
- uses: dessant/lock-threads@v4
|
2021-09-14 10:35:37 +02:00
|
|
|
with:
|
2021-10-23 21:58:04 +02:00
|
|
|
pr-inactive-days: "1"
|
2021-09-14 10:35:37 +02:00
|
|
|
pr-lock-reason: ""
|
2021-10-23 21:58:04 +02:00
|
|
|
exclude-any-pr-labels: keep-open
|
|
|
|
|
|
|
|
issue-inactive-days: "7"
|
|
|
|
issue-lock-reason: ""
|
|
|
|
exclude-any-issue-labels: keep-open
|