diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml new file mode 100644 index 0000000..53c42a2 --- /dev/null +++ b/.github/workflows/markdown-lint.yml @@ -0,0 +1,25 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json +name: YAML Lint + +on: + push: + paths: + - "**.yml" + - "**.yaml" + - .github/workflows/yaml-lint.yml + pull_request: + paths: + - "**.yml" + - "**.yaml" + - .github/workflows/yaml-lint.yml + +jobs: + markdownlint: + name: YAML Lint + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Lint YAML Files + uses: ibiqlik/action-yamllint@v3 diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..1c93625 --- /dev/null +++ b/.yamllint @@ -0,0 +1,4 @@ +rules: + line-length: {max: 100, allow-non-breakable-words: true} + document-start: disable + comments-indentation: disable