Directory-Based Affected Targets
Get setup instructions for automated and manually specified targets. Learn how to manually define targets based on your directory structure in our guide.
If you don't use Bazel like systems to auto-generate the affected targets, you can instead manually define targets based on your directory structure. There are two ways to do it.
Automated (preferred)
A GitHub action can be created to automatically assign affected targets to reach PR.
A few things to note:
This will queue the PR in Aviator. You can also want to setup a similar GH action to dequeue when the label is removed.
This label
av-ready
should be separate from the label defined in Aviator’s configuration.
Manually specify targets
If you prefer to do this manually, you can also specify the affected targets as a Slash command comment in your PR. The targets can be represented as a comma separated list in the /aviator merge
command:
Although Manual approach is much simpler, it is prone to human errors and is a less preferred approach.
Last updated
Was this helpful?