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

View File

@@ -70,8 +70,10 @@ def rebase_onto_pr():
"comment",
os.environ["PR_NUMBER"],
"--body",
f"Your edit conflicts with an already scheduled fix ({squash_url}). \
Please wait for an adult to come and help you.",
f"Your edit conflicts with an already scheduled fix \
({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",
squash_branch,
"--title",
"Dedicated PR for all typo fixes.",
"chore: typo fixes (automated)",
]
)