diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5cd76929be1b0c8d6110946d50b066afa542c6ee..aa8723c6adf441fc94e8f918723952c09f1c2ef8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,14 +50,11 @@ workflow: policy: ${CACHE_POLICY} Check licenses: - before_script: - - python -m pip install --upgrade pip - - python -m pip install reuse - - reuse --version + extends: .common_pre_commit + variables: + CACHE_POLICY: pull script: - - reuse lint - tags: - - sphinx + - pre-commit run --hook-stage manual reuse rules: - if: $CI_PIPELINE_SOURCE == "web" when: manual