Skip to content

Lock closed PRs

Lock closed PRs #43

Workflow file for this run

name: "Lock closed PRs"
on:
schedule:
- cron: "0 3 * * 0" # every Sunday at 03:00 UTC
workflow_dispatch:
jobs:
lock:
# Don't run on forks.
if: github.repository == 'rectorphp/rector-src'
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-inactive-days: 150
pr-comment: >
This pull request has been automatically locked because it has been closed for 150 days.
Please open a new PR if you want to continue the work.
exclude-any-pr-labels: "keep-open,no-lock"