Skip to content

Commit

Permalink
[CONFIG] [Github Actions] new tool added: yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonzalo Diaz committed Jun 10, 2024
1 parent c51a0b2 commit cbb676c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: YAML lint

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop", "feature/*"]
pull_request:
branches: ["main"]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4

- name: Install yamllint
run: pip install yamllint

- name: Lint YAML files
run: >
yamllint --strict .
&& echo '✔ Your code looks good.'

0 comments on commit cbb676c

Please sign in to comment.