Merge branch 'main' into renovate/lscr.io-linuxserver-sabnzbd
This commit is contained in:
commit
08060bc90c
1 changed files with 32 additions and 0 deletions
32
.github/.drone.yml
vendored
32
.github/.drone.yml
vendored
|
@ -8,6 +8,13 @@ trigger:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: lint_docker_compose
|
||||||
|
image: python:3.8-slim-bullseye
|
||||||
|
commands:
|
||||||
|
- "pip3 install yamllint"
|
||||||
|
- "yamllint --version"
|
||||||
|
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" ./*.yml'
|
||||||
|
|
||||||
- name: python3.8
|
- name: python3.8
|
||||||
image: python:3.8-slim-bullseye
|
image: python:3.8-slim-bullseye
|
||||||
commands:
|
commands:
|
||||||
|
@ -31,3 +38,28 @@ steps:
|
||||||
- "pip3 install yamllint"
|
- "pip3 install yamllint"
|
||||||
- "yamllint --version"
|
- "yamllint --version"
|
||||||
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" .'
|
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" .'
|
||||||
|
|
||||||
|
# Add conditional steps for specific directories here
|
||||||
|
- name: lint_arrs_directory
|
||||||
|
image: python:3.8-slim-bullseye
|
||||||
|
commands:
|
||||||
|
- "pip3 install yamllint"
|
||||||
|
- "yamllint --version"
|
||||||
|
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" ./arr/*.yml'
|
||||||
|
when:
|
||||||
|
condition:
|
||||||
|
- change_match:
|
||||||
|
path:
|
||||||
|
- "^arrs/.*\.yml$"
|
||||||
|
|
||||||
|
- name: lint_downloaders_directory
|
||||||
|
image: python:3.8-slim-bullseye
|
||||||
|
commands:
|
||||||
|
- "pip3 install yamllint"
|
||||||
|
- "yamllint --version"
|
||||||
|
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" ./downloaders/*.yml'
|
||||||
|
when:
|
||||||
|
condition:
|
||||||
|
- change_match:
|
||||||
|
path:
|
||||||
|
- "^downloaders/.*\.yml$"
|
Reference in a new issue