Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
7a801f7b
Unverified
Commit
7a801f7b
authored
Aug 15, 2023
by
James Lamb
Committed by
GitHub
Aug 15, 2023
Browse files
[ci] add bot to lock inactive issues and PRs (#6037)
parent
e0d63b57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
.github/workflows/lock.yml
.github/workflows/lock.yml
+44
-0
No files found.
.github/workflows/lock.yml
0 → 100644
View file @
7a801f7b
name
:
'
Lock
Inactive
Threads'
on
:
schedule
:
# midnight UTC, every Wednesday
-
cron
:
'
0
0
*
*
3'
# allow manual triggering from GitHub UI
workflow_dispatch
:
permissions
:
issues
:
write
pull-requests
:
write
concurrency
:
group
:
lock
jobs
:
action
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
dessant/lock-threads@v4
with
:
github-token
:
${{ github.token }}
# after how many days of inactivity should a closed issue/PR be locked?
issue-inactive-days
:
'
90'
pr-inactive-days
:
'
90'
# do not close feature request issues...
# we close those but track them in https://github.com/microsoft/LightGBM/issues/2302
exclude-any-issue-labels
:
'
feature
request'
# what labels should be removed prior to locking?
remove-issue-labels
:
'
awaiting
response,awaiting
review,blocking,in
progress'
remove-pr-labels
:
'
awaiting
response,awaiting
review,blocking,in
progress'
# what message should be posted prior to locking?
issue-comment
:
|
This issue has been automatically locked since there has not been any recent activity since it was closed.
To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues
including a reference to this.
pr-comment
:
|
This pull request has been automatically locked since there has not been any recent activity since it was closed.
To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues
including a reference to this.
# what shoulld the locking status be?
issue-lock-reason
:
'
resolved'
pr-lock-reason
:
'
resolved'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment