Several determinants are used by the VIP Code Analysis Bot to calculate whether a pull request can be automatically approved or not. Automatic approvals are executed without the use of any utilities, with the exception of the SVG analysis.
Any combination of the following determinants that covers all of the changes in a submitted pull request will result in automatic approval:
- Only non-functional changes are made to PHP code (e.g., white-space changes only, comments added, etc)
.css, .csv, .eot, .gif, .gz, .ico, .Ini, .jpg, .jpeg, .json, .less, .map, .md, .mdown, .mo, .mp4, .otf, .pcss, .pdf, .po, .pot, .png, .sass, .scss, .styl, .ttf, .txt, .woff, .woff2, .yml
- If SVG scanning is enabled, SVG files are approved if the SVG scanner finds no issues.
The determinants for automatic approvals also apply to pull requests labeled
[VIP] Review Request, making it possible for pull requests labeled
[VIP] Review Request to be automatically approved.
[Status] VIP Auto Approved label
Automatic approval by the Bot will be indicated by a
[Status] VIP Auto Approved label added to a reviewed pull request:
If a pull request was previously automatically approved, but a later commit causes the pull request to no longer qualify for automatic approval, the Bot will automatically revoke the state of automatic approval and remove the
[Status] VIP Auto Approved label.