Skip to content

Merge pull request #1031 from m26dvd/master #1085

Merge pull request #1031 from m26dvd/master

Merge pull request #1031 from m26dvd/master #1085

Workflow file for this run

name: Lint Commit Message
on:
push:
# The branches below must be a subset of the branches above
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
jobs:
# Make sure commit messages follow the conventional commits convention:
# https://www.conventionalcommits.org
commitlint:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
name: Lint Commit Messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: "echo \"export default {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [0], 'body-max-line-length': [0], 'footer-max-line-length': [0] }}\" > commitlint.config.mjs"
- uses: wagoid/commitlint-github-action@v6