Skip to content

Commit

Permalink
fix: Fix bug in sparse checkout helper, pr_helper log output
Browse files Browse the repository at this point in the history
  • Loading branch information
FHeilmann committed Jan 8, 2024
1 parent 46ac5cd commit aabfe7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion voron_toolkit/voronuser_utils/pr_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ def _update_labels_on_pull_request(self: Self, pr_number: int) -> None:
)
labels_to_preserve: list[str] = [label for label in labels_on_pr if label not in LABELS_CI_ALL]

logger.info("Labels: {}", labels_to_preserve)
updated_labels: list[str] = [label, *labels_to_preserve]
logger.info("Labels: {}", updated_labels)
GithubActionHelper.set_labels_on_pull_request(
repo=self.github_repository,
pull_request_number=pr_number,
Expand Down
1 change: 1 addition & 0 deletions voron_toolkit/voronuser_utils/sparse_checkout_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def run(self: Self) -> None:
logger.success("Added pattern '{}' to sparse_checkout_patterns", pattern)

self.gh_helper.set_output_multiline(output={"SPARSE_CHECKOUT_HELPER_OUTPUT": list(sparse_checkout_patterns)})
self.gh_helper.write_outputs()


def main() -> None:
Expand Down

0 comments on commit aabfe7e

Please sign in to comment.