Skip to content

Commit 78af442

Browse files
committed
Add auto lock workflow for issue & PR
1 parent 5dee625 commit 78af442

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/lock.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Lock Threads
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
concurrency:
13+
group: lock
14+
15+
jobs:
16+
lock:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: dessant/lock-thread@v3
20+
with:
21+
github-token: ${{ github.token }}
22+
issue-inactive-days: '30'
23+
exclude-any-issue-labels: 'Discussion'
24+
issue-comment: >
25+
This issue has been automatically locked since there has not been any activity over the past 30 days. Please open a new issue for related bugs.
26+
27+
Please note this issue tracker is not a help forum. We recommend using [Discussions](https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/discussions) for questions.
28+
29+
pr-inactive-days: '30'
30+
pr-comment: >
31+
This pull request has been automatically locked since there has not been any activity over the past 30 days. Please open a new pull request for related bugs.
32+
33+
Please note this issue tracker is not a help forum. We recommend using [Discussions](https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/discussions) for questions.

0 commit comments

Comments
 (0)