Skip to content

Add conventional commits #644

@arturo-guridi-snkeos

Description

@arturo-guridi-snkeos

In the default branch mode, the action tries to push a commit to a new branch to upload the coverage report.

If the repository has conventional commits enabled, the action will fail, since the commit message doesn't adhere to the standard set by conventional commit.

Here is the line that causes the issue:

GIT_COMMIT_MESSAGE = "Update coverage data"

And here is the issue in our pipeline:

 Commit message must match a given regex pattern: (^Initial commit$)|(^((build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|deploy){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)))

Since this is a pretty standard code-quality feature in most repositories, a simple prefix in the comment would fix this problem, keeping the rest of the functionality the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions