Skip to content

Update yamllint.yml #472

Update yamllint.yml

Update yamllint.yml #472

Workflow file for this run

---
name: "YAMLLint"
on:
push:
pull_request:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
permissions: {}
jobs:
check:
name: Check with YAMLLint
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install YAMLLint
shell: bash
run: |
pip install yamllint==1.35.1
msg="$(pip list --outdated | grep -e yamllint || true)"
if [ -n "${msg}" ]; then
>&2 echo "ERROR: outdated: ${msg}"
exit 1
fi
- name: Run YAMLLint
shell: bash
run: "yamllint -d '{extends: default, rules: {line-length: disable}}' ."