Skip to content
Snippets Groups Projects

Actually run lint jobs when they have to

Merged Nacho Barrientos requested to merge ib_ci_rules into master
3 files
+ 7
4
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 3
1
@@ -16,17 +16,19 @@ docs_lint:
rules:
- if: '$CI_COMMIT_TAG'
when: never
- if: $CI_PIPELINE_SOURCE == "push"
script:
- dnf install -y python-pip
- python3 -m pip install linkcheckmd
- python3 -m linkcheckmd -v README.md
- python3 -m linkcheckmd -v docs/*
- python3 -m linkcheckmd -v docs
yaml_lint:
stage: lint
rules:
- if: '$CI_COMMIT_TAG'
when: never
- if: $CI_PIPELINE_SOURCE == "push"
script:
- dnf install -y epel-release
- dnf install -y yamllint
Loading