Azure / Azure/azure-sdk-tools

Allow `triggerPath` triggered packages to be treated as indirect

Open
#10,896 0 comments 0 reactions 1 assignee Claimed by @scbedd View on GitHub
needs-triage
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Right now it's not an option. If you are included via a triggerPath, we consider you directly changed. This was introduced due to .NET, but it doesn't play well with the JS repo, where they really need to know if the package was directly changed in the PR or not. They need to know this because if the file was directly changed, they need to add `--from` to the rush args, `--to` otherwise. Because of the `triggerPaths treated as direct` update, this means that they are running more tests than are actually necessary.

We should make this an additional parameter in `Save-Package-Properties.yml`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.