Loading .gitlab-ci.yml +5 −1 Original line number Diff line number Diff line --- include: - local: templates/pre-commit.yml # Using the local file option parameter is probably better, but it breaks the # pre-commit hook. This can also be better if you're working on different # branches but want to use the hooks from the master branch. # yamllint disable-line rule:line-length - remote: https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/pre-commit.yml lint templates: image: registry.shore.co.il/ci-images:pre-commit Loading .pre-commit-config.yaml +8 −0 Original line number Diff line number Diff line Loading @@ -27,3 +27,11 @@ repos: rev: 0.5.3 hooks: - id: mdformat - repo: https://gitlab.com/devopshq/gitlab-ci-linter rev: v1.0.3 hooks: - id: gitlab-ci-linter args: - "--server" - https://git.shore.co.il Loading
.gitlab-ci.yml +5 −1 Original line number Diff line number Diff line --- include: - local: templates/pre-commit.yml # Using the local file option parameter is probably better, but it breaks the # pre-commit hook. This can also be better if you're working on different # branches but want to use the hooks from the master branch. # yamllint disable-line rule:line-length - remote: https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/pre-commit.yml lint templates: image: registry.shore.co.il/ci-images:pre-commit Loading
.pre-commit-config.yaml +8 −0 Original line number Diff line number Diff line Loading @@ -27,3 +27,11 @@ repos: rev: 0.5.3 hooks: - id: mdformat - repo: https://gitlab.com/devopshq/gitlab-ci-linter rev: v1.0.3 hooks: - id: gitlab-ci-linter args: - "--server" - https://git.shore.co.il