-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (31 loc) · 996 Bytes
/
lock.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
name: 🔒 Lock closed issues and PRs
on:
schedule:
- cron: "30 2 * * *"
permissions:
issues: write
pull-requests: write
concurrency:
group: lock
jobs:
lock:
name: 🔐 Lock closed issues and PRs
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-inactive-days: "30"
issue-lock-reason: ""
issue-comment: >
Issue closed and locked due to lack of activity.
If you encounter this same issue, please open a new issue and refer
to this closed one.
pr-inactive-days: "7"
pr-lock-reason: ""
pr-comment: >
Pull Request closed and locked due to lack of activity.
If you'd like to build on this closed PR, you can clone it using
this method: https://stackoverflow.com/a/14969986
Then open a new PR, referencing this closed PR in your message.