Skip to content
Snippets Groups Projects
Commit 7bef192b authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

ci: run the license checks via pre-commit

parent a1386367
No related branches found
No related tags found
Loading
Pipeline #93572 passed
...@@ -50,14 +50,11 @@ workflow: ...@@ -50,14 +50,11 @@ workflow:
policy: ${CACHE_POLICY} policy: ${CACHE_POLICY}
Check licenses: Check licenses:
before_script: extends: .common_pre_commit
- python -m pip install --upgrade pip variables:
- python -m pip install reuse CACHE_POLICY: pull
- reuse --version
script: script:
- reuse lint - pre-commit run --hook-stage manual reuse
tags:
- sphinx
rules: rules:
- if: $CI_PIPELINE_SOURCE == "web" - if: $CI_PIPELINE_SOURCE == "web"
when: manual when: manual
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment