Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] _mark_migration_done_in_migration_issue : Call _find_issue with correct number of parameters #246

Merged

Conversation

legalsylvain
Copy link
Collaborator

Blind commit. (not tested).

Should fix @pedrobaeza remarks #192 (comment)

CC : @sbidoul.

Don't understand how it could have worked in my test (grap-org-test-bot/github-ocabot-test#27), but well !

@@ -84,7 +84,8 @@ def _set_lines_issue(gh_pr_user_login, gh_pr_number, issue_body, module):


def _mark_migration_done_in_migration_issue(gh_repo, target_branch, gh_pr):
migration_issue = _find_issue(gh_repo, target_branch)
milestone = _create_or_find_branch_milestone(gh_repo, target_branch)
Copy link
Member

Choose a reason for hiding this comment

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

I think this shouldn't create the milestone.

Copy link
Member

Choose a reason for hiding this comment

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

I guess it does no harm in practice. Merging to unblock the situation.

@sbidoul sbidoul merged commit 08a77b8 into OCA:master Jun 19, 2023
@sbidoul
Copy link
Member

sbidoul commented Jun 19, 2023

This is now deployed.

@pedrobaeza
Copy link
Member

Trying in OCA/hr-expense#155

@legalsylvain
Copy link
Collaborator Author

Looks OK.

image

image

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.

3 participants