mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-15 20:25:18 +02:00
6201938750
Run lock once a day, 19 mins after midnight, rather than every hour to avoid service abuse
33 lines
1 KiB
YAML
33 lines
1 KiB
YAML
name: 'Lock Threads'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '19 0 * * *'
|
|
|
|
jobs:
|
|
lock:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dessant/lock-threads@v2.0.3
|
|
with:
|
|
github-token: ${{ github.token }}
|
|
issue-lock-inactive-days: '7'
|
|
issue-exclude-created-before: ''
|
|
issue-exclude-labels: ''
|
|
issue-lock-labels: ''
|
|
issue-lock-comment: >
|
|
This issue has been automatically locked since there
|
|
has not been any recent activity after it was closed.
|
|
Please open a new issue for related bugs.
|
|
issue-lock-reason: 'resolved'
|
|
pr-lock-inactive-days: '7'
|
|
pr-exclude-created-before: ''
|
|
pr-exclude-labels: ''
|
|
pr-lock-labels: ''
|
|
pr-lock-comment: >
|
|
This pull request has been automatically locked since there
|
|
has not been any recent activity after it was closed.
|
|
Please open a new issue for related bugs.
|
|
pr-lock-reason: ''
|
|
process-only: ''
|