anvilproject / anvil-portal

The NHGRI Analysis Visualization and Informatics Lab-space (AnVIL) website
https://anvilproject.org/
MIT License
3 stars 20 forks source link

Add and validate "content" commit type #3357

Closed NoopDog closed 2 weeks ago

NoopDog commented 3 weeks ago

Need

The site is primarily a content site, so we would like to add the commit type content, which is not a standard Conventional Commit type. This can be used as an alternative to docs. As docs would be about the web implementation and not the content.

In investigating this it seems we do not have commit lint at all in this repo and this is allowing commit types that make release-please skip making a PR.

Approach

  1. Implement commit lint.
  2. Add content as a valid commit type for commit lint.
  3. Modify the release-please-config.json to use a "Content" section for the content commit type.

Thanks!

NoopDog commented 2 weeks ago

Complete!