Skip to content

Commit c6d1dfa

Browse files
authored
chore(gh): add lock threads (#451)
Adds lock threads. Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
1 parent ca7f5bd commit c6d1dfa

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/lock.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Lock Threads
3+
4+
on:
5+
schedule:
6+
- cron: 30 00 * * *
7+
8+
jobs:
9+
lock:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
13+
with:
14+
github-token: '${{ secrets.GITHUB_TOKEN }}'
15+
issue-comment: >
16+
I'm going to lock this issue because it has been closed for 30
17+
days. This helps our maintainers find and focus on the active
18+
issues.
19+
20+
21+
If you have found a problem that seems similar to this,
22+
please open a new issue and complete the issue template so we can
23+
capture all the details necessary to investigate further.
24+
issue-inactive-days: '30'
25+
pr-comment: >
26+
I'm going to lock this pull request because it has been closed for
27+
30 days. This helps our maintainers find and focus on the active
28+
issues.
29+
30+
31+
If you have found a problem that seems related to this
32+
change, please open a new issue and complete the issue template so
33+
we can capture all the details necessary to investigate further.
34+
pr-inactive-days: '30'

0 commit comments

Comments
 (0)