ci: only lint api on api files changes
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2347>
This commit is contained in:
parent
3d9e12b3e5
commit
b2c7c26552
|
@ -175,6 +175,9 @@ lint_api:
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
stage: lint
|
stage: lint
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
||||||
|
- changes: [api/**/*]
|
||||||
|
|
||||||
image: $CI_REGISTRY/funkwhale/ci/python-funkwhale-api:3.11
|
image: $CI_REGISTRY/funkwhale/ci/python-funkwhale-api:3.11
|
||||||
before_script:
|
before_script:
|
||||||
|
|
Loading…
Reference in New Issue