-
Notifications
You must be signed in to change notification settings - Fork 11
docs: add deprecation workarounds documentation for allow_inplace_checks
#7215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -102,6 +102,26 @@ The top-level key `queue_rules` allows to define the rules that reign over your | |||||||||||||||||
|
||||||||||||||||||
<OptionsTable def="QueueRuleModel" /> | ||||||||||||||||||
|
||||||||||||||||||
### Working around the `allow_inplace_checks` attribute deprecation | ||||||||||||||||||
|
||||||||||||||||||
As the `allow_inplace_checks` attribute is deprecated, different choices are available. | ||||||||||||||||||
|
||||||||||||||||||
1. If you want to merge your pull requests without the generation of draft PRs, you can leverage | ||||||||||||||||||
the [Workflow Automation](/workflow/) feature with the [rebase](/workflow/actions/rebase/) | ||||||||||||||||||
and [merge](/workflow/actions/merge/) actions. This way, once a pull request validates your rules, | ||||||||||||||||||
you can directly rebase and merge it. | ||||||||||||||||||
|
||||||||||||||||||
2. If draft PRs are not an issue for you, but you want to preserve you commit history by avoiding merge commit shas, | ||||||||||||||||||
you can setup your merge queue to use the `fast-forward` mode for the attribute `merge_method`. | ||||||||||||||||||
This way, the merge queue will keep the linearity of your commit history. | ||||||||||||||||||
See the `queue_rules` [documentation](/configuration/file-format/#queue-rules) for more details. | ||||||||||||||||||
Comment on lines
+114
to
+117
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||
|
||||||||||||||||||
3. If draft PRs are not an issue for you, but you want to limit their amount, you can choose to leverage | ||||||||||||||||||
the `batch_size` and `speculative_checks` attributes in your `queue_rules`. | ||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wouldn't mention speculative checks. First, because we should use |
||||||||||||||||||
See the `queue_rules` [documentation](/configuration/file-format/#queue-rules) for more details. | ||||||||||||||||||
|
||||||||||||||||||
For any further questions, feel free to <a href="mailto:[email protected]">Contact our support</a>. | ||||||||||||||||||
|
||||||||||||||||||
Comment on lines
+119
to
+124
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think the amount is a new problem.
Suggested change
|
||||||||||||||||||
### Priority Rules | ||||||||||||||||||
|
||||||||||||||||||
The top-level key `priority rules` allows to define the rules that will determine | ||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest a different format, with subtitles instead of numbers and more details/information to help users to understand the change