Commit 6e565bdf authored by nimrod's avatar nimrod
Browse files

Lint .gitlab-ci.yml.

Fix the breaking hook as well.
parent 4265b0a1
Loading
Loading
Loading
Loading
Loading
+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
+8 −0
Original line number Diff line number Diff line
@@ -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