This repo contains Dockerfile with preconfigured PR names validator, based on Conventional Commits. This linter is used in Articola Tools organization's repositories to validate PR names.
Use ghcr.io/articola-tools/pr-name-validator
Docker image with one string
argument that represents PR name to validate.
Example command to use this linter -
docker run --rm ghcr.io/articola-tools/pr-name-validator "PR-123"
Our PR naming convention is based on Conventional Commits 1.0.0 with the following modifications:
- The commit area is required.
- Only
!
after the area must be used to mark a commit as a breaking change.
The following PR types are allowed:
fix
- A patch for a bug within the codebase.feat
- A new feature for the codebase.setup
- Configuration of repository/tools/assets/resources.doc
- New or updated documentation within the repository/codebase.refactor
- Refactoring or style improvements of the codebase.test
- New tests or changes in existing tests.optimization
- Optimizations of the codebase.
- fix(cgen): fix consts generation
- feat(cgen): add support for fixed arrays
- setup(ci): add Clang build on Windows to CI checks
- doc(builtin): add documentation to
get_element()
function - refactor(examples): improve Fibonacci implementation
- test(tools): add tests for
spawn-doctor
tool - optimization(parser): speedup parsing of multiple-file project
- feat(mem)!:
unsafe
allocation public functions become private functions