From 99d3e25d436e16183505117da68193b747ad02cb Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Fri, 27 Feb 2026 02:14:36 +0200 Subject: [PATCH] fix: add yamllint config and remove trailing blank line in pr-build.yml (#80) Add root .yamllint.yml with relaxed rules matching the megalinter config and disable the truthy rule that flags `on:` in GitHub Actions workflows. Remove trailing blank line from pr-build.yml. --- .github/workflows/pr-build.yml | 1 - .yamllint.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .yamllint.yml diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 9c416aa..aeaa90f 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -188,4 +188,3 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.pull_request.number }} body-file: comment.md - diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000..dacb2e7 --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,13 @@ +--- +extends: default +rules: + braces: + max-spaces-inside: 1 + new-lines: + level: warning + type: unix + line-length: + max: 500 + comments: + min-spaces-from-content: 1 + truthy: disable