Label Pull Request With Git Conflicts
Add Label conflicts
When the Pull Request Has Git Conflicts
workflows:
- name: handle-conflicts
run:
if: $hasGitConflicts()
then:
- $addLabel("conflicts")
- $comment("This pull request has merge conflicts. Please resolve them and then rebase on the base branch.")