Merge pull request #1120 from newfold-labs/release/2.15.1 #420
This file contains hidden or 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Lint yaml files | |
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1 | |
with: | |
config_data: > | |
{ | |
extends: default, | |
rules: { | |
document-start: disable, | |
truthy: disable, | |
line-length: disable, | |
brackets: { | |
min-spaces-inside: 0, | |
max-spaces-inside: 1 | |
} | |
} | |
} |