Skip to content

Commit

Permalink
Refactor linting workflow and ignore Helm templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Flagro committed Mar 2, 2024
1 parent 026da45 commit 66c1dc9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python Linting
name: Linting

on:

Check warning on line 3 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / lint

3:1 [truthy] truthy value should be one of [false, true]
push:
Expand All @@ -7,7 +7,7 @@ on:
workflow_dispatch:

jobs:
python-lint:
lint:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -39,3 +39,10 @@ jobs:
- name: Lint YAML files
run: |
yamllint .
- name: Setup Helm
uses: azure/setup-helm@v1

- name: Lint Helm Chart
run: |
helm lint ./helm
3 changes: 3 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
extends: default

ignore: |
./helm/templates/*

rules:
line-length:
max: 127
Expand Down

0 comments on commit 66c1dc9

Please sign in to comment.