Commit lint action
Github commit lint action
Versions
Introduction
This is template repository for new libraries
Example
name: Commit Lint
on:
workflow_call:
inputs:
branch:
required: false
type: string
default: "main"
pull_request:
types: [opened, synchronize, edited]
push:
branches:
- master
- main
- develop
- feature/**
- release/**
- test/**
- bugfix/**
jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- name: Commit lint
uses: gouef/commit-lint-action@main
Commit rules
Commit message should looks like
[TYPE] some message