Skip to content

Commit 7c49e61

Browse files
authored
Merge pull request #439 from tidymodels/lock-bot
adding a lock bot
2 parents 65a5ab8 + 01d4e16 commit 7c49e61

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/lock.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: 'Lock Threads'
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/lock-threads@v2
12+
with:
13+
github-token: ${{ github.token }}
14+
issue-lock-inactive-days: '14'
15+
# issue-exclude-labels: ''
16+
# issue-lock-labels: 'outdated'
17+
issue-lock-comment: >
18+
This issue has been automatically locked. If you believe you have
19+
found a related problem, please file a new issue (with a reprex:
20+
<https://reprex.tidyverse.org>) and link to this issue.
21+
issue-lock-reason: ''
22+
pr-lock-inactive-days: '14'
23+
# pr-exclude-labels: 'wip'
24+
pr-lock-labels: ''
25+
pr-lock-comment: >
26+
This pull request has been automatically locked. If you believe you
27+
have found a related problem, please file a new issue (with a reprex:
28+
<https://reprex.tidyverse.org>) and link to this issue.
29+
pr-lock-reason: ''
30+
# process-only: 'issues'

0 commit comments

Comments
 (0)