-
Notifications
You must be signed in to change notification settings - Fork 119
25 lines (23 loc) · 760 Bytes
/
lock.yaml
File metadata and controls
25 lines (23 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# From https://github.com/yihui/knitr
name: 'Lock threads'
on:
# chaque semaine le jeudi a 5 AM
schedule:
- cron: '0 5 * * 4'
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2.0.1
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '180'
# issue-exclude-created-before: ''
# issue-exclude-labels: ''
# issue-lock-labels: ''
issue-lock-comment: >
This old thread has been automatically locked. If you think you have
found something related to this, please open a new issue and link to this
old issue if necessary.
issue-lock-reason: 'resolved'
pr-lock-inactive-days: '180'