Skip to content

Allowing the develop branch #335

@bobeal

Description

@bobeal

I integrated the commit-check action in a project and it currently fails for commits on the develop branch.

I tried to allow it but I can't find a way to do it.

For instance, I've configured:

[branch]
conventional_branch = true
allow_branch_types = ["feature", "hotfix", "refactor", "chore", "fix", "develop"]

But commit-check fails with:

Type branch check failed ==> develop
It doesn't match regex: ^(feature|hotfix|refactor|chore|fix|develop)\/.+|(master)|(main)|(HEAD)|(PR-.+)
The branch should follow Conventional Branch. See https://conventional-branch.github.io/
Suggest: Use <type>/<description> with allowed types or ignore_authors in config branch section to bypass

And I found no other way to configure this in the documentation.

Any idea how I could do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions