Skip to content

Commit

Permalink
yamllint the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i authored Feb 29, 2024
1 parent ec18522 commit 26b75ec
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/_charm-quality-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,26 @@ jobs:
uses: canonical/observability/.github/workflows/_charm-codeql-analysis.yml@main
with:
charm-path: "${{ inputs.charm-path }}"
validate-github-workflows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: yaml-lint-workflows
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: .github
config_data: |
extends: default
rules:
new-line-at-end-of-file:
level: warning
trailing-spaces:
level: warning
document-start:
level: warning
line-length:
level: warning
indentation:
level: warning
empty-lines:
level: warning

0 comments on commit 26b75ec

Please sign in to comment.