Skip to content

Conversation

@lauzadis
Copy link
Member

@lauzadis lauzadis commented Apr 2, 2025

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

scripts/ci.py Outdated
Comment on lines 72 to 76

has_branch = has_remote_branch(repo_dir, branch_name)
if has_branch:
base_branch = os.environ.get("GITHUB_BASE_REF")

if has_remote_branch(repo_dir, branch_name):
vprint(f"repo has target branch `{branch_name}`: {has_branch}...updating")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: This vprint still references the now-nonexistent has_branch variable.

scripts/ci.py Outdated
else:
vprint(f"repo does not have target branch `{branch_name}`, leaving at {curr_branch}")

vprint(f"repo does not have target branch {branch_name} nor base_branch ${base_branch}, leaving at {curr_branch}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Unnecessary $

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kotlin brain

@lauzadis lauzadis merged commit 5388018 into main Apr 2, 2025
5 checks passed
@lauzadis lauzadis deleted the misc-ci-base-branch branch April 2, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants