Skip to content

Enforcing semantic commit messages #9168

@kewisch

Description

@kewisch

We recently agreed in the git commit guide we'd use semantic commits. I'd like us to enforce this automatically as much as possible. Proposed actions:

  • Adjust dependabot config to use chore(deps): as a prefix
  • Change merge setting "Default commit message" to either "Pull request title" or "Pull request title and description", and add a GitHub action to enforce the pull request title needs to be semantic as well.
  • Add a GitHub action and local checks that enforces that each commit uses semantic commits (e.g. commitlint)

@wmontwe @toddheasley does this make sense? Should we add the same checks for iOS as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions