Skip to content

chore(deps): bump tj-actions/changed-files from 44.5.7 to 45.0.0 #2182

chore(deps): bump tj-actions/changed-files from 44.5.7 to 45.0.0

chore(deps): bump tj-actions/changed-files from 44.5.7 to 45.0.0 #2182

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint YAML files
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Get changed files in the docs folder
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
_data/**/*.yml
- name: Install yamllint
if: steps.changed-files.outputs.any_changed == 'true'
run: pipx install yamllint
- name: Lint YAML files
if: steps.changed-files.outputs.any_changed == 'true'
run: yamllint ${{ steps.changed-files.outputs.all_changed_files }}