Update report #1085
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Paths Filter | |
on: [push, workflow_dispatch] | |
jobs: | |
paths-filter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
workflows: | |
- '.github/workflows/**' | |
# run only if 'workflows' files were changed | |
- name: workflow tests | |
if: steps.filter.outputs.workflows == 'true' | |
run: echo "Workflow file" | |
# run only if not 'workflows' files were changed | |
- name: not workflow tests | |
if: steps.filter.outputs.workflows != 'true' | |
run: echo "NOT workflow file" |