2020-11-09 10:47:28 +00:00
|
|
|
name: Lock
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 * * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lock:
|
2022-01-20 11:54:54 +00:00
|
|
|
if: github.repository_owner == 'home-assistant'
|
2020-11-09 10:47:28 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-11-23 07:20:50 +00:00
|
|
|
- uses: dessant/lock-threads@v5.0.1
|
2020-11-09 10:47:28 +00:00
|
|
|
with:
|
|
|
|
github-token: ${{ github.token }}
|
2021-09-28 08:15:45 +00:00
|
|
|
issue-inactive-days: "30"
|
|
|
|
exclude-issue-created-before: "2020-10-01T00:00:00Z"
|
2020-11-09 10:47:28 +00:00
|
|
|
issue-lock-reason: ""
|
2021-09-28 08:15:45 +00:00
|
|
|
pr-inactive-days: "1"
|
|
|
|
exclude-pr-created-before: "2020-11-01T00:00:00Z"
|
2020-11-09 10:47:28 +00:00
|
|
|
pr-lock-reason: ""
|