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.
This commit is contained in:
Damir Jelić
2024-06-28 16:47:19 +02:00
parent 52fa00e474
commit 769fe8bb7d

12
.github/workflows/fixup-block.yml vendored Normal file
View File

@@ -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