Merge pull request #787 from newfold-labs/release/2.12.2 #341
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint YML | |
on: | |
push: | |
paths: | |
- '**.yml' | |
pull_request: | |
types: [ opened, edited, synchronize, reopened, ready_for_review ] | |
paths: | |
- '**.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
lint-yml: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Lint yaml files | |
uses: ibiqlik/action-yamllint@v3 | |
with: | |
config_data: > | |
{ | |
extends: default, | |
rules: { | |
document-start: disable, | |
truthy: disable, | |
line-length: disable, | |
brackets: { | |
min-spaces-inside: 0, | |
max-spaces-inside: 1 | |
} | |
} | |
} |