mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
Add a check for user config set in the workflow
This commit is contained in:
parent
efbd4fa1ef
commit
4f8d5b9d3e
4 changed files with 84 additions and 16 deletions
|
@ -134,9 +134,7 @@ def create_or_update_branch(repo, repo_url, commit_message, base, branch):
|
|||
action = "updated"
|
||||
print(f"Updated branch '{branch}'")
|
||||
else:
|
||||
print(
|
||||
f"Branch '{branch}' is even with its remote and will not be updated"
|
||||
)
|
||||
print(f"Branch '{branch}' is even with its remote and will not be updated")
|
||||
|
||||
# Check if the pull request branch is ahead of the base
|
||||
diff = is_ahead(repo, base, branch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue