Skip to content

Commit

Permalink
Use target repo not origin repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Jun 30, 2023
1 parent 556be38 commit adff88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baldrick/blueprints/circleci.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def circleci_new_handler():
# Get installation id
repos = repo_to_installation_id_mapping()

repo = vcs["origin_repository_url"].removeprefix("https://github.com/")
repo = vcs["target_repository_url"].removeprefix("https://github.com/")

if repo not in repos:
msg = f"Not installed for {repo}"
Expand Down

0 comments on commit adff88e

Please sign in to comment.