ci: comment from bot is more helpful in case of conflict (#15359)

Also change PR title to follow conventional commits convention.
This commit is contained in:
dundargoc 2021-08-13 15:58:31 +02:00 committed by GitHub
parent ce172d8d4a
commit 222cd43222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,8 +70,10 @@ def rebase_onto_pr():
"comment", "comment",
os.environ["PR_NUMBER"], os.environ["PR_NUMBER"],
"--body", "--body",
f"Your edit conflicts with an already scheduled fix ({squash_url}). \ f"Your edit conflicts with an already scheduled fix \
Please wait for an adult to come and help you.", ({squash_url}). Please check that batch PR whether your fix is \
already included; if not, then please wait until the batch PR \
is merged and then rebase your PR on top of master.",
] ]
) )
@ -185,7 +187,7 @@ def main():
"--head", "--head",
squash_branch, squash_branch,
"--title", "--title",
"Dedicated PR for all typo fixes.", "chore: typo fixes (automated)",
] ]
) )