1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-10 17:30:11 +01:00

ci: fix pylint doesn't run in MR pipelines

This commit is contained in:
proletarius101 2024-02-12 19:20:49 +08:00
parent 4619c9d1ec
commit d7c26611fa

View File

@ -255,6 +255,10 @@ code_quality_html:
pylint:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" # Run code quality job in merge request pipelines
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run code quality job in pipelines on the default branch (but not in other branch pipelines)
- if: $CI_COMMIT_TAG # Run code quality job in pipelines for tags
image: debian:bookworm-slim
script:
- apt-get update