Skip to content

Lock Threads

Lock Threads #1397

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@v5
id: lock
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-inactive-days: '45'
issue-lock-reason: 'resolved'
process-only: 'issues'
- name: Print locked issues
run: |
echo "Locked issues: ${{ steps.lock.outputs.issues }}"