Skip to content

feat(workflow): Add reusable YAML schema linting workflow #18

feat(workflow): Add reusable YAML schema linting workflow

feat(workflow): Add reusable YAML schema linting workflow #18

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Lint
on:
workflow_dispatch: {}
pull_request:
paths:
- "**.yaml"
jobs:
yamllint:
uses: ./.github/workflows/reusable-yamllint.yaml
secrets: inherit
with:
yamllint-args: "--config-file=.yamllint.yaml"
yaml-schema:
uses: ./.github/workflows/reusable-yamlschema.yaml
secrets: inherit
with:
ignore: |
.github/labels/base.yaml
.github/labels/golang.yaml
.github/labeler/base.yaml
.github/labeler/golang.yaml
actionlint:
uses: ./.github/workflows/reusable-actionlint.yaml
secrets: inherit
with:
actionlint-version: "v1.7.1"
shellcheck:
uses: ./.github/workflows/reusable-shellcheck.yaml
secrets: inherit