-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct getting affected projects in Nx #2
Changes from all commits
bfa1bdf
2c7b309
089f44b
e825746
e1e23f3
60a397f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,8 @@ def fetch_remote_git_history(ref): | |
print("No merge instance branch found. Exiting.") | ||
sys.exit(1) | ||
|
||
write_to_github_output(f"merge_instance_branch={merge_instance_branch}") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is just logging, essentially? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This, which is called during the prerequisite step of this workflow, is outputting to github's output, which gets passed around between all of the remaining steps in the flow. That's why we switch to passing in |
||
|
||
# Check if any file specified by the filters in impact-all-filters-path was | ||
# changed in the PR. If it was, then mark this PR as impacting all other PRs. | ||
impacts_filters_changes = os.environ.get("IMPACTS_FILTERS_CHANGES") | ||
|
@@ -59,7 +61,6 @@ def fetch_remote_git_history(ref): | |
print("Could not identify merge instance branch head sha") | ||
sys.exit(1) | ||
|
||
github_output = f"merge_instance_branch={merge_instance_branch}\nmerge_instance_branch_head_sha={merge_instance_branch_head_sha}\nimpacts_all_detected=false" | ||
log_if_verbose(f"Setting these outputs:\n{github_output}") | ||
github_output = f"merge_instance_branch_head_sha={merge_instance_branch_head_sha}\nimpacts_all_detected=false" | ||
|
||
write_to_github_output(github_output) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested this out locally and it seems to check out.