You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: 'Lock threads'
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
|
|
lock:
|
|
|
|
permissions:
|
|
|
|
issues: write # to lock issues (dessant/lock-threads)
|
|
|
|
pull-requests: write # to lock PRs (dessant/lock-threads)
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: dessant/lock-threads@v2
|
|
|
|
with:
|
|
|
|
github-token: ${{ github.token }}
|
|
|
|
issue-lock-inactive-days: '90'
|
|
|
|
issue-exclude-created-before: ''
|
|
|
|
issue-exclude-labels: ''
|
|
|
|
issue-lock-labels: ''
|
|
|
|
issue-lock-comment: ''
|
|
|
|
issue-lock-reason: 'resolved'
|
|
|
|
process-only: ''
|