From ab3b7edd7586f05f035d30ebdedd988d4866e4eb Mon Sep 17 00:00:00 2001 From: Ross Ceballo Date: Tue, 13 Aug 2024 01:00:11 +0000 Subject: [PATCH] Fix yaml linting --- .github/workflows/build.yaml | 1 + .github/workflows/markdownlint.yaml | 1 + .github/workflows/shellcheck.yaml | 1 + .github/workflows/yamllint.yaml | 3 ++- .yamlint.yaml | 5 +++++ .yamllint | 5 +++++ 6 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .yamlint.yaml create mode 100644 .yamllint diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2ad1e1e..8f24630 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,3 +1,4 @@ +--- name: ci on: diff --git a/.github/workflows/markdownlint.yaml b/.github/workflows/markdownlint.yaml index d4e709b..a701171 100644 --- a/.github/workflows/markdownlint.yaml +++ b/.github/workflows/markdownlint.yaml @@ -1,3 +1,4 @@ +--- name: Lint Markdown Files on: diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml index 3db5631..eb011bd 100644 --- a/.github/workflows/shellcheck.yaml +++ b/.github/workflows/shellcheck.yaml @@ -1,3 +1,4 @@ +--- name: shellcheck on: diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index 680ceae..f5d867a 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -1,3 +1,4 @@ +--- name: Lint YAML Files on: @@ -15,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.12 - name: Install run: pip install yamllint diff --git a/.yamlint.yaml b/.yamlint.yaml new file mode 100644 index 0000000..7214609 --- /dev/null +++ b/.yamlint.yaml @@ -0,0 +1,5 @@ +--- +extends: default +rules: + truthy: + check-keys: false diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..7214609 --- /dev/null +++ b/.yamllint @@ -0,0 +1,5 @@ +--- +extends: default +rules: + truthy: + check-keys: false