Ensures that all commits are following the conventional-commits standard.
Find a file
Adrian Smijulj 8b3a60d2b7
Merge pull request #9 from wu-cl/master
feat: add token in api request header for private repos
2023-04-17 08:40:56 +02:00
dist/main feat: add token in api request header for private repos 2023-04-13 20:34:34 +08:00
docs chore: update README 2020-06-11 10:01:04 +02:00
src feat: add token in api request header for private repos 2023-04-13 20:34:34 +08: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 feat: add token in api request header for private repos 2023-04-13 20:34:34 +08:00
babel.config.js chore: add jest 2020-06-11 12:55:07 +02:00
CONTRIBUTING.md docs: add Getting Started section 2022-10-18 13:51:37 +02:00
index.js feat: create action 2020-06-11 09:37:37 +02:00
jest.config.js chore: add jest 2020-06-11 12:55:07 +02:00
package.json chore: add jest 2020-06-11 12:55:07 +02:00
README.md feat: add token in api request header for private repos 2023-04-13 20:34:34 +08:00
tsconfig.json chore: update target 2022-06-12 19:14:17 +02:00

Conventional Commits GitHub Action

A simple GitHub action that makes sure all commit messages are following the Conventional Commits specification.

Screenshot

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

Usage

Latest version: v1.1.0

name: Conventional Commits

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.1.0
        # optional, required for private repos
        # with:
        #   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}