Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
HomeAssistant
Core
Commits
c6afbceb
Unverified
Commit
c6afbceb
authored
4 years ago
by
Franck Nijhof
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Replace lock bot with GitHub Action (#43001)
parent
8fc8ce81
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/lock.yml
+0
-27
0 additions, 27 deletions
.github/lock.yml
.github/workflows/lock.yml
+20
-0
20 additions, 0 deletions
.github/workflows/lock.yml
with
20 additions
and
27 deletions
.github/lock.yml
deleted
100644 → 0
+
0
−
27
View file @
8fc8ce81
# Configuration for Lock Threads - https://github.com/dessant/lock-threads
# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock
:
1
# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
skipCreatedBefore
:
2019-07-01
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels
:
[]
# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel
:
false
# Comment to post before locking. Set to `false` to disable
lockComment
:
false
# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason
:
false
# Limit to only `issues` or `pulls`
only
:
pulls
# Optionally, specify configuration settings just for `issues` or `pulls`
issues
:
daysUntilLock
:
30
This diff is collapsed.
Click to expand it.
.github/workflows/lock.yml
0 → 100644
+
20
−
0
View file @
c6afbceb
name
:
Lock
# yamllint disable-line rule:truthy
on
:
schedule
:
-
cron
:
"
0
*
*
*
*"
jobs
:
lock
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
dessant/lock-threads@v2.0.1
with
:
github-token
:
${{ github.token }}
issue-lock-inactive-days
:
"
30"
issue-exclude-created-before
:
"
2020-10-01T00:00:00Z"
issue-lock-reason
:
"
"
pr-lock-inactive-days
:
"
1"
pr-exclude-created-before
:
"
2020-11-01T00:00:00Z"
pr-lock-reason
:
"
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment