Skip to content

Commit e627965

Browse files
committed
Replace block-fixup job with gitlint
Signed-off-by: Matthias Beyer <[email protected]>
1 parent 09838ef commit e627965

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.github/workflows/fixupmerge.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/gitlint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on: [pull_request]
2+
3+
name: Git Checks
4+
5+
jobs:
6+
commit-lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
with:
11+
fetch-depth: 0
12+
- uses: actions/setup-python@v4
13+
with:
14+
python-version: '3.x'
15+
- run: pip install gitlint
16+
- run: gitlint --commits $(git merge-base origin/master HEAD)..HEAD

0 commit comments

Comments
 (0)