Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

chore(pre-commit): pre-commit autoupdate #75

chore(pre-commit): pre-commit autoupdate

chore(pre-commit): pre-commit autoupdate #75

Workflow file for this run

---
name: Lint YAML files on Pull Requests
on:
pull_request:
paths:
- "**.yaml"
- "**.yml"
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get changes
uses: dorny/paths-filter@v2
id: filter
with:
list-files: shell
filters: |
yaml:
- added|modified: "**.yaml"
- added|modified: "**.yml"
- name: Lint files
if: ${{ steps.filter.outputs.yaml == 'true' }}
uses: reviewdog/action-yamllint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-check
yamllint_flags: "-c .github/lint/.yamllint.yaml ${{ steps.filter.outputs.yaml_files }}"