Skip to content

Council Pack 2

Council Pack 2 #728

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