Skip to content

Commit

Permalink
Test PR creation
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Dec 6, 2024
1 parent 1a9da3c commit 576cc9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/component_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def __does_component_needs_to_be_updated(self, original_component: AtmosComponen

return needs_update, files_to_update, files_to_remove

def __create_branch_and_pr(self, repo_dir, files_to_update: list(str), files_to_remove: list(str), original_component: AtmosComponent, updated_component: AtmosComponent, branch_name: str) -> PullRequestCreationResponse:
def __create_branch_and_pr(self, repo_dir, files_to_update, files_to_remove, original_component: AtmosComponent, updated_component: AtmosComponent, branch_name: str) -> PullRequestCreationResponse:
self.__github_provider.create_branch_and_push_all_changes(repo_dir,
files_to_update,
files_to_remove,
Expand Down
2 changes: 1 addition & 1 deletion src/github_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_branches(self, repo_dir: str):

return set(branches)

def create_branch_and_push_all_changes(self, repo_dir, files_to_update: list(str), files_to_remove: list(str), branch_name: str, commit_message: str):
def create_branch_and_push_all_changes(self, repo_dir, files_to_update, files_to_remove, branch_name: str, commit_message: str):
repo = git.repo.Repo(repo_dir)

base_branch = self.__repo.get_branch(repo.active_branch.name)
Expand Down

0 comments on commit 576cc9e

Please sign in to comment.