Updated Bot commands (markdown)

Huy Do
2022-07-21 15:50:40 -07:00
parent 43ae83e523
commit 836c6b24d3

@ -28,14 +28,18 @@ command:
``` ```
## Merge ## Merge
``` ```
usage: @pytorchbot merge [-g | -f] usage: @pytorchbot merge [-g | -f REASON | -l]
Merge an accepted PR, subject to the rules in .github/merge_rules.json. Merge an accepted PR, subject to the rules in .github/merge_rules.json.
By default, this will wait for all required checks to succeed before merging. By default, this will wait for all required checks to succeed before merging.
optional arguments: optional arguments:
-g, --green Merge when *all* status checks pass. -g, --green Merge when *all* status checks pass.
-f, --force Merge without checking anything. ONLY USE THIS FOR CRITICAL FAILURES. -f FORCE, --force REASON
Merge without checking anything. This requires a reason for auditting purpose, for example:
`@pytorchbot merge -f '[MINOR] Fix lint. Expecting all PR tests to pass'`
The reason must be longer than 2 words. ONLY USE THIS FOR CRITICAL FAILURES.
-l, --land-checks Merge with land time checks. This will create a new branch with your changes rebased on viable/strict and run additional tests (EXPERIMENTAL)
``` ```
## Revert ## Revert
``` ```