Skip to content

Commit

Permalink
lint action: Update configuration for new taxonomy layout (#1282)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bjhargrave committed Aug 22, 2024
1 parent e7c5cba commit b167a6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down

0 comments on commit b167a6e

Please sign in to comment.