File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This file is synced from the `.github` repository, do not modify it directly.
2
+ name : Lock threads
3
+
4
+ on :
5
+ push :
6
+ paths :
7
+ - .github/workflows/lock-threads.yml
8
+ branches-ignore :
9
+ - dependabot/**
10
+ schedule :
11
+ # Once every day at 1am UTC
12
+ - cron : " 0 1 * * *"
13
+ issue_comment :
14
+
15
+ permissions :
16
+ issues : write
17
+ pull-requests : write
18
+
19
+ concurrency :
20
+ group : lock-threads
21
+ cancel-in-progress : ${{ github.event_name != 'issue_comment' }}
22
+
23
+ jobs :
24
+ lock-threads :
25
+ if : github.repository_owner == 'Homebrew' && github.event_name != 'issue_comment'
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - name : Lock Outdated Threads
29
+ uses : dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771
30
+ with :
31
+ github-token : ${{ secrets.GITHUB_TOKEN }}
32
+ process-only : ' issues, prs'
33
+ issue-inactive-days : 30
34
+ add-issue-labels : outdated
35
+ pr-inactive-days : 30
36
+ add-pr-labels : outdated
You can’t perform that action at this time.
0 commit comments