Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
26 lines
703 B
YAML
26 lines
703 B
YAML
name: "Lock"
|
|
|
|
on:
|
|
schedule:
|
|
# “At 00:00.” https://crontab.guru/#0_0_*_*_*
|
|
- cron: "0 0 * * *"
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
jobs:
|
|
lock:
|
|
if: github.event_name != 'schedule' || github.repository == 'prettier/prettier'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dessant/lock-threads@v5
|
|
with:
|
|
# https://github.com/dessant/lock-threads
|
|
github-token: ${{ github.token }}
|
|
issue-inactive-days: "90"
|
|
exclude-issue-created-before: ""
|
|
exclude-any-issue-labels: "keep-unlocked, status:awaiting response"
|
|
add-issue-labels: "locked-due-to-inactivity"
|
|
issue-comment: ""
|
|
issue-lock-reason: "resolved"
|