inline YAML or path to separate file (e.g.: .github/filters.yaml) ================================================================= Conditionally run GitHub Actions Steps Date: June 21, 2020 Conditionally run GitHub Actions Steps ``` yaml - uses: dorny/paths-filter@v2.2.0 id: filter with: # inline YAML or path to separate file (e.g.: .github/filters.yaml) filters: | backend: - 'backend/**/*' frontend: - 'frontend/**/*' # run only if 'backend' files were changed - name: backend unit tests if: steps.filter.outputs.backend == 'true' run: ... ```