Skip to content

Commit 769fe8b

Browse files
committed
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.
1 parent 52fa00e commit 769fe8b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/fixup-block.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Git Checks
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
block-fixup:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/[email protected]
11+
- name: Block Fixup Commit Merge
12+
uses: 13rac1/[email protected]

0 commit comments

Comments
 (0)