--- name: Linting run-name: Linting ansible and yaml files on: pull_request: jobs: yaml-lint: runs-on: ubuntu-latest steps: - name: Checkout source code uses: actions/checkout@v4 - name: Install yaml-lint # As yamllint action is a composite it does not install yamllint itself run: | apt update apt install -y --no-install-recommends yamllint - name: Lint with yaml-lint uses: ibiqlik/action-yamllint@v3 with: config_file: .yamllint.yml