Skip to content

Lock threads

Lock threads #541

Workflow file for this run

name: 'Lock threads'
on:
schedule:
- cron: '0 20 * * *'
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
process-only: 'issues, prs'
github-token: ${{ github.token }}
issue-lock-inactive-days: '7'
issue-exclude-created-before: ''
issue-exclude-labels: ''
issue-lock-labels: ''
issue-lock-comment: >
This issue has been automatically locked since there has not been any recent activity after it was closed.
Please open a new issue.
issue-lock-reason: 'resolved'
pr-lock-inactive-days: '7'
pr-exclude-created-before: ''
pr-exclude-labels: ''
pr-lock-labels: ''
pr-lock-comment: >
This pull request has been automatically locked since there has not been any recent activity after it was closed.
Please open a new issue or pull request.
pr-lock-reason: 'resolved'
process-only: ''

Check failure on line 31 in .github/workflows/lock.yml

View workflow run for this annotation

GitHub Actions / Lock threads

Invalid workflow file

The workflow is not valid. .github/workflows/lock.yml (Line: 31, Col: 11): 'process-only' is already defined