Skip to content

Lock Threads

Lock Threads #943

Workflow file for this run

# https://github.com/marketplace/actions/lock-threads
name: 'Lock Threads'
on:
schedule:
- cron: '0 0 * * *'
permissions:
issues: write
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
id: lock
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-lock-inactive-days: '7'
issue-lock-reason: 'resolved'
process-only: 'issues'
- name: Print locked issues
run: |
echo "Locked issues: ${{ steps.lock.outputs.issues }}"