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
1 merge request!69Add pre-commit hook to check licenses
Pipeline #93572 passed
......@@ -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
......
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