diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2022-12-14 08:57:15 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2022-12-14 08:57:30 +0100 |
commit | e627965e117927beb7bc8c3d99cf13a98702f430 (patch) | |
tree | 853f84db27bb81ba3d15d6d9df99649ac8a719fa /.github/workflows/gitlint.yml | |
parent | 09838ef5295f5d30ae3ab06396f3453973673142 (diff) |
Replace block-fixup job with gitlint
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to '.github/workflows/gitlint.yml')
-rw-r--r-- | .github/workflows/gitlint.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/gitlint.yml b/.github/workflows/gitlint.yml new file mode 100644 index 0000000..294586c --- /dev/null +++ b/.github/workflows/gitlint.yml @@ -0,0 +1,16 @@ +on: [pull_request] + +name: Git Checks + +jobs: + commit-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/setup-python@v4 + with: + python-version: '3.x' + - run: pip install gitlint + - run: gitlint --commits $(git merge-base origin/master HEAD)..HEAD |