Skip to content

Running a scheduled task to lock inactive issues over 30 days #61

Running a scheduled task to lock inactive issues over 30 days

Running a scheduled task to lock inactive issues over 30 days #61

name: "Lock Inactive Issues"
run-name: "Running a scheduled task to lock inactive issues over 30 days"
on:
schedule:
- cron: "0 0 * * *"
permissions:
issues: "write"
jobs:
lock-inactive-issues:
runs-on: "ubuntu-latest"
steps:
- uses: "dessant/lock-threads@v5"
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
issue-comment: "Due to inactivity, this issue will be locked and marked as resolved. If you have any further questions or inquiries, please feel free to open a new [issue](https://github.com/mrjackyliang/homebridge-adt-pulse/issues/new/choose)."
issue-inactive-days: 30
issue-lock-reason: "resolved"
log-output: true