Skip to content

Repository files navigation

pre-commit

Image to be used as a CI linting step in infrastructure repositories

Learn more about the framework

Example of Use

Gitlab

.gitlab-ci.yml

stages:
- &lint "🧹 LINT"pre-commit:
stage: *lintimage: ghcr.io/mayconritzmann/pre-commit:v1.0.0before_script:
- . /etc/profile.d/asdf.sh
- '[ -f .tool-versions ] && /installer/add-tools.sh .tool-versions || true'
- git config --global --add safe.directory $CI_PROJECT_DIRscript:
- pre-commit run --all-files --verbose --color alwaysonly:
- merge_requests

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages