trunk-io/Trunk Upload and Test Impacted Targets
Trunk.io Github Action to Compute, Upload, and Test Impacted Targets
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| trunk-token | Repo API token used for authentication. Can be found at app.trunk.io. Required if upload-targets | no | — |
| target-branch | The Merge Instance's target branch. If unspecified, defaults to the repository's default branch. | no | — |
| bazel-workspace-path | The path to the bazel WORKSPACE, relative to the root of the git repository. If unspecified, defaults to the root of the repository. | no | — |
| verbose | Whether to enable verbose logging. Defaults to false. | no | — |
| bazel-startup-options | A comma separated list of startup options to pass to Bazel. See https://bazel.build/reference/command-line-reference#startup-options for a complete list. If unspecified, no startup options are specified. | no | — |
| bazel-path | A path to the Bazel executable. Defaults to PATH. | no | bazel |
| impact-all-filters-path | A path to a list of filters to identify whether `ALL` impacted targets should be considered. See https://github.com/dorny/paths-filter/blob/master/.github/filters.yml for an example. | no | "" |
| upload-targets | Upload targets to the Trunk MergeGraph. Required for each PR if using the MergeGraph. | no | false |
| test-targets | Run bazel test on the computed targets. Recommended if running on PRs. | no | true |
| bazel-test-command | The command to run against bazel when running tests. | no | test |
| bazel-diff-command-options | Additional args to append to the bazel diff bazelCommandOptions flag. | no | "" |
| test-kind-filter | Kind filter to apply to impacted targets | no | .+_library|.+_binary|.+_test |
| test-scope-filter | Scope filter to apply to impacted targets | no | — |
| test-negative-kind-filter | Negative kind filter to apply to impacted targets | no | generated file |
| test-negative-scope-filter | Negative scope filter to apply to impacted targets | no | //external |
| test-negative-tag-filter | Negative tag filter to apply to impacted targets | no | — |
Outputs
no outputs