ci: only lint api on api files changes

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2347>
environments/review-docs-fix-w-p5ro6e/deployments/16934
jo 2023-01-30 19:19:16 +01:00
rodzic 3d9e12b3e5
commit b2c7c26552
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -175,6 +175,9 @@ lint_api:
allow_failure: true
stage: lint
dependencies: []
rules:
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
- changes: [api/**/*]
image: $CI_REGISTRY/funkwhale/ci/python-funkwhale-api:3.11
before_script: