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
0be894db
Unverified
Commit
0be894db
authored
Jan 03, 2025
by
Nikita Titov
Committed by
GitHub
Jan 03, 2025
Browse files
[ci] lock inactive issues and PRs at different time (#6764)
Co-authored-by:
James Lamb
<
jaylamb20@gmail.com
>
parent
ab604263
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
.github/workflows/lock.yml
.github/workflows/lock.yml
+4
-2
No files found.
.github/workflows/lock.yml
View file @
0be894db
...
...
@@ -2,8 +2,10 @@ name: 'Lock Inactive Threads'
on
:
schedule
:
# midnight UTC, every Wednesday
# midnight UTC, every Wednesday
, for Issues
-
cron
:
'
0
0
*
*
3'
# midnight UTC, every Thursday, for PRs
-
cron
:
'
0
0
*
*
4'
# allow manual triggering from GitHub UI
workflow_dispatch
:
...
...
@@ -42,4 +44,4 @@ jobs:
# what should the locking status be?
issue-lock-reason
:
'
resolved'
pr-lock-reason
:
'
resolved'
process-only
:
'
issues
,
prs'
process-only
:
${{ github.event.schedule == '0 0 * * 3' &&
'issues
' || '
prs'
}}
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