Skip to content

Merge pull request #14 from dadosfera/stg #20

Merge pull request #14 from dadosfera/stg

Merge pull request #14 from dadosfera/stg #20

Workflow file for this run

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