Update lock.yml

Signed-off-by: James Cole <james@firefly-iii.org>
This commit is contained in:
James Cole
2023-04-17 06:15:07 +02:00
committed by GitHub
parent f28274aded
commit b076c92eb0

View File

@@ -5,20 +5,17 @@ on:
schedule: schedule:
- cron: '0 0 * * *' - cron: '0 0 * * *'
permissions:
contents: read
jobs: jobs:
lock: lock:
permissions: permissions:
issues: write # for dessant/lock-threads to lock issues issues: write
pull-requests: write # for dessant/lock-threads to lock PRs pull-requests: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dessant/lock-threads@v4 - uses: dessant/lock-threads@v4
with: with:
github-token: ${{ github.token }} github-token: ${{ github.token }}
issue-lock-inactive-days: '90' issue-inactive-days: 90
issue-comment: > issue-comment: >
Hi there! This is an automatic reply. `Share and enjoy` Hi there! This is an automatic reply. `Share and enjoy`