From b167a6eb25d19a263265d91933ea5f23e7ab03f2 Mon Sep 17 00:00:00 2001 From: BJ Hargrave Date: Thu, 22 Aug 2024 15:04:05 -0400 Subject: [PATCH] lint action: Update configuration for new taxonomy layout (#1282) We re-add knowledge since the v1 knowledge is removed. We also use the default yamllint config from the instructlab-schema package. This now no longer lints for line length. Signed-off-by: BJ Hargrave --- .github/workflows/lint.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ade72ab..b0d3578 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -72,7 +72,6 @@ jobs: run: | scripts/check-yaml.py ${{ steps.changed-files.outputs.all_changed_files }} env: - YAMLLINT_CONFIG: "{extends: relaxed, rules: {line-length: {max: 120}}}" TAXONOMY_FOLDERS: >- compositional_skills knowledge @@ -84,10 +83,10 @@ jobs: # shellcheck disable=SC2046 scripts/check-yaml.py $(find "${folders[@]}" -name "qna.yaml" -print) env: - YAMLLINT_CONFIG: "{}" # No lint rules SCHEMA_VERSION: 0 # use the schema version specified in the "version" key TAXONOMY_FOLDERS: >- compositional_skills + knowledge - name: "Save Pull Request number" if: ${{ (github.event_name == 'pull_request') && (github.repository == 'instructlab/taxonomy') }}