Skip to content

Commit

Permalink
fixup?! Fix: GitHub CI workflow selects dev when building prod branch (
Browse files Browse the repository at this point in the history
  • Loading branch information
achave11-ucsc committed Jan 13, 2025
1 parent 5bd0fae commit 0d85c25
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/check_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
Sequence,
)

import git

from azul import (
config,
)
Expand Down Expand Up @@ -71,6 +69,7 @@ def branch_context() -> BranchContext:
platform='gitlab'
)
else:
import git
repo = git.Repo(config.project_root)
local_branch = None if repo.head.is_detached else repo.active_branch.name
context = BranchContext(
Expand Down

0 comments on commit 0d85c25

Please sign in to comment.