Skip to content
Snippets Groups Projects
yaml.yml 777 B
Newer Older
name: YAML

on:
  push:
    branches:
      - 'master'
      - 'release-**'
  pull_request:
  files-changed:
    name: Check which files changed
    timeout-minutes: 3
    outputs:
      yaml: ${{ steps.changes.outputs.yaml }}
    steps:
      - uses: actions/checkout@v4
      - name: Test which files changed
        uses: dorny/paths-filter@v3.0.0
        id: changes
        with:
          token: ${{ github.token }}
          filters: .github/file-paths.yaml
    if: needs.files-changed.outputs.yaml == 'true'
    timeout-minutes: 10
    - uses: actions/checkout@v4
    - name: Prepare front-end environment
      uses: ./.github/actions/prepare-frontend
    - run: yarn run lint-yaml