From ab1b37ebbf97ffdde591225bbeba0150e7393e25 Mon Sep 17 00:00:00 2001 From: Moony Date: Sat, 4 Jun 2022 22:34:48 -0500 Subject: [PATCH] Add a merge conflict check. (#8626) * Add a merge conflict check. This is directly copied from https://github.com/wixoaGit/OpenDream/pull/648 * Update .github/workflows/conflict-labeler.yml Co-authored-by: ike709 Co-authored-by: ike709 --- .github/workflows/conflict-labeler.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/conflict-labeler.yml diff --git a/.github/workflows/conflict-labeler.yml b/.github/workflows/conflict-labeler.yml new file mode 100644 index 0000000000..fd832b9231 --- /dev/null +++ b/.github/workflows/conflict-labeler.yml @@ -0,0 +1,18 @@ +name: Check Merge Conflicts + +on: + push: + branches: + - master + pull_request_target: + +jobs: + Label: + runs-on: ubuntu-latest + steps: + - name: Check for Merge Conflicts + uses: eps1lon/actions-label-merge-conflict@513a24fc7dca40990863be2935e059e650728400 + with: + dirtyLabel: "Merge Conflict" + repoToken: "${{ secrets.GITHUB_TOKEN }}" + commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."