From c424aea1f9c3fa7da042618eb034619dd6a3bf01 Mon Sep 17 00:00:00 2001 From: Théo Zimmermann Date: Wed, 12 Aug 2020 17:53:54 +0200 Subject: Introduce GitHub Action to check for conflicts in PRs. Alternative to adding this feature to coqbot (coq/bot#14). --- .github/workflows/check-conflicts.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/check-conflicts.yml (limited to '.github/workflows') diff --git a/.github/workflows/check-conflicts.yml b/.github/workflows/check-conflicts.yml new file mode 100644 index 0000000000..33ed944488 --- /dev/null +++ b/.github/workflows/check-conflicts.yml @@ -0,0 +1,13 @@ +name: "Check conflicts" +on: [push] +# Only on push because @coqbot already takes care of checking for +# conflicts when PRs are opened or synchronized + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: eps1lon/actions-label-merge-conflict@b8bf8341285ec9a4567d4318ba474fee998a6919 + with: + dirtyLabel: "needs: rebase" + repoToken: "${{ secrets.GITHUB_TOKEN }}" -- cgit v1.2.3