Warn before allowing an approve command if the PR would result in a conflict #4873
Labels
area: commands
status: confirmed
Confirmed as something that needs working on.
type: feature request
Shinies.
One of my previous PRs to watch a keyword (#4183) was approved in chat, but that same keyword had already been watched through another watch keyword before it was approved in chat, so another PR (#4184) was required to fix the conflict.
It seems the
!!/approve
command in chat doesn't properly recognize conflicts in the files, and goes and merges them without regard to them.Can that command please check for conflicts and refuse to merge a PR if there is a conflict, unless a special switch (e.g.
!!/approve-force
) is used?The text was updated successfully, but these errors were encountered: