cocogitto / cocogitto-action

A github action to ensure your current gitlog respect the conventional commit specification
22 stars 17 forks source link

[BUG] Parse error: expected commit_type #23

Closed oradwell closed 6 months ago

oradwell commented 6 months ago

In the latest version of the action in "main" branch, we started getting a parse error. Even though the commits comply to the conventional commit standards

Checking all commits
No errored commits

Error: Parse error

Caused by:
     --> 1:1
      |
    1 | 
      | ^---
      |
      = expected commit_type

To Reproduce

Steps to reproduce the behavior:

on: push
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: cocogitto/cocogitto-action@main

Expected behavior

Action should pass the checks with no errors.

Additional context

It seems to have been caused by #10