Ensures that all commits are following the conventional-commits standard.
Find a file
2020-06-11 09:55:51 +02:00
dist/main feat: create action 2020-06-11 09:44:04 +02:00
.gitignore chore: initial commit 2020-06-11 07:50:40 +02:00
.prettierrc.js chore: initial commit 2020-06-11 07:50:40 +02:00
action.yml chore: initial commit 2020-06-11 07:50:40 +02:00
CONTRIBUTING.md chore: initial commit 2020-06-11 07:50:40 +02:00
index.js feat: create action 2020-06-11 09:37:37 +02:00
main.ts feat: create action 2020-06-11 09:44:04 +02:00
package.json feat: create action 2020-06-11 09:37:37 +02:00
README.md chore: update README 2020-06-11 09:55:51 +02:00
tsconfig.json chore: initial commit 2020-06-11 07:50:40 +02:00

Conventional Commits GitHub Action

A simple GitHub action that makes sure all commit messages are following the Conventional Commits specification. If not, workflow will fail.

Typically, you would make these check in a pre-commit hook (for example, using something like Commitlint), but those can be easily skipped, hence this GitHub action.

Usage

Latest version: v1.0.1

name: My Workflow

on:
  pull_request:
    branches: [ master ]

jobs:
  build:
    name: Conventional Commits
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - uses: webiny/action-conventional-commits@v1.0.1