From 769fe8bb7d8f4e4bbb2bce150d811a864e7498ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 28 Jun 2024 16:47:19 +0200 Subject: [PATCH] ci: Add a github workflow to fail when fixup commits exist We tend to use fixup commits quite a bit, and in the heat of the moment we sometimes forget to squash them before the final merge. This should prevent us from doing so. --- .github/workflows/fixup-block.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/fixup-block.yml diff --git a/.github/workflows/fixup-block.yml b/.github/workflows/fixup-block.yml new file mode 100644 index 000000000..b42aeb491 --- /dev/null +++ b/.github/workflows/fixup-block.yml @@ -0,0 +1,12 @@ +name: Git Checks + +on: [pull_request] + +jobs: + block-fixup: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2.0.0 + - name: Block Fixup Commit Merge + uses: 13rac1/block-fixup-merge-action@v2.0.0