Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
eaf8f890
Unverified
Commit
eaf8f890
authored
1 year ago
by
HonkingGoose
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
docs(configuration options): style fixes for `prPriority` (#22467)
Co-authored-by:
Rhys Arkins
<
rhys@arkins.net
>
parent
b08fa0cf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/usage/configuration-options.md
+11
-2
11 additions, 2 deletions
docs/usage/configuration-options.md
with
11 additions
and
2 deletions
docs/usage/configuration-options.md
+
11
−
2
View file @
eaf8f890
...
...
@@ -2767,11 +2767,20 @@ This is why we configured an upper limit for how long we wait until creating a P
## prPriority
Sometimes Renovate needs to rate limit its creation of PRs, e.g. hourly or concurrent PR limits.
In such cases it sorts/prioritizes by default based on the update type (e.g. patches raised before minor, minor before major).
By default, Renovate sorts/prioritizes based on the update type, going from smallest update to biggest update.
Renovate creates update PRs in this order:
1.
`pinDigest`
1.
`pin`
1.
`digest`
1.
`patch`
1.
`minor`
1.
`major`
If you have dependencies that are more or less important than others then you can use the
`prPriority`
field for PR sorting.
The default value is 0, so setting a negative value will make dependencies sort last, while higher values sort first.
Here's an example of how you would define PR priority so that devDependencies are raised last and
`react`
is raised first:
Here's an example of how you would define PR priority so that
`
devDependencies
`
are raised last and
`react`
is raised first:
```
json
{
...
...
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