Skip to content

Commit cf1af08

Browse files
committed
ci: check fixup commits are autosquashed before PR merge
1 parent eb876a8 commit cf1af08

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/git-checks.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Git Checks
2+
3+
on: pull_request
4+
5+
jobs:
6+
block-fixup:
7+
name: Block fixup commits
8+
permissions:
9+
contents: read
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Clone repository
13+
uses: actions/checkout@v4
14+
- name: Block fixup commit merge
15+
uses: 13rac1/block-fixup-merge-action@v2.0.0

0 commit comments

Comments
 (0)