-
-
Notifications
You must be signed in to change notification settings - Fork 42
37 lines (33 loc) · 1.02 KB
/
lock-threads.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
name: '🔒 Lock Threads'
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
concurrency:
group: lock
jobs:
action:
runs-on: ubuntu-latest
steps:
- name: '🔒 Lock Threads'
- uses: dessant/lock-threads@v4
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
issue-inactive-days: '180'
add-issue-labels: 'outdated, archived'
issue-comment: >
This issue has been closed due to inactivity in the last 180 days.
Please open a new issue to bring it up again.
issue-lock-reason: 'resolved'
pr-inactive-days: '180'
include-all-pr-labels: 'done'
add-pr-labels: 'outdated, archived'
pr-comment: >
This pull request has been closed due to inactivity in the last 180 days.
Please open a new PR to bring it up again.
pr-lock-reason: 'resolved'
process-only: 'issues, prs'
log-output: false