lib/neetob/cli/github/make_pr/compliance_fix.rb in neetob-0.4.16 vs lib/neetob/cli/github/make_pr/compliance_fix.rb in neetob-0.4.19

- old
+ new

@@ -35,14 +35,18 @@ ui.error("#{repo_name_without_org_suffix(repo)} don't exist in current dir") next end stash_local_changes(repo, local) end - shallow_clone_repo_in_tmp_dir(repo) if !local + + shallow_clone_repo_in_tmp_dir!(repo) if !local + check_and_delete_remote_branch(repo, local) - bundle_install(repo, local) + bundle_install!(repo, local) + fix_neeto_audit(repo, local) - ui.info(add_commmit_and_push_changes(repo, local)) + ui.info(add_commmit_and_push_changes!(repo, local)) + delete_local_feature_branch(repo, local) pull_request = client.create_pull_request(repo, "main", BRANCH_NAME, PR_TITLE) ui.success("PR created in \"#{repo}\" project successfully.") client.add_labels_to_an_issue(repo, pull_request[:number], labels.split(",")) @failed_repos.delete(repo)