Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/git_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,11 @@
if branch_name is None:
branch_name = repo.active_branch.name

# Amend the last commit to append the bot signature
repo.git.commit('--amend', '--no-edit', '--allow-empty-message',

Check warning on line 493 in src/git_utils.py

View check run for this annotation

Codecov / codecov/patch

src/git_utils.py#L493

Added line #L493 was not covered by tests
'--author="blech-bot <blechbot1@gmail.com>"',
'--message="Co-authored-by: blech-bot <blechbot1@gmail.com>"')

remote = repo.remote(name='origin')
repo_url = remote.url
try:
Expand Down