wrench: Use yamllint to check lint issues on GH workflows (#892)

* Use yamllint to check lint issues on GH workflows

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Split into two different steps

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Add yamllint config file

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Fix YAmL lint issues in GH workflows

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
Mauro Morales
2023-02-15 16:39:10 +01:00
committed by Itxaka
parent 9db839cd63
commit 3e9dbe1fb2

View File

@@ -166,6 +166,11 @@ hadolint:
RUN ls
RUN find . -name "Dockerfile*" -print | xargs -r -n1 hadolint
yamllint:
FROM cytopia/yamllint
COPY . .
RUN yamllint .github/workflows/
renovate-validate:
ARG RENOVATE_VERSION
FROM renovate/renovate:$RENOVATE_VERSION