invidious-copy-2022-04-11/.github/workflows/lock.yml

23 lines
998 B
YAML
Raw Normal View History

# Documentation: https://github.com/marketplace/actions/lock-threads
name: 'Lock Threads'
on:
workflow_dispatch:
schedule:
- cron: "0 */12 * * *"
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
2021-08-16 17:41:32 +00:00
issue-lock-inactive-days: '240'
pr-lock-inactive-days: '240'
issue-lock-reason: 'resolved'
pr-lock-reason: 'resolved'
# issue-lock-comment: 'This issue has been automatically locked since there has not been any activity in it in the last 30 days. If this is still applicable to the current version of Invidious feel free to open a new issue.'
# pr-lock-comment: 'This pull request has been automatically locked since there has not been any activity in it in the last 30 days. If you want to tell us about needed or wanted changes or if problems related to this code are discovered, feel free to open an issue or a new pull request.'