File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 pull_request :
55 branches :
66 - ' **'
7- paths :
8- - ' catalog/**'
97
108jobs :
9+ check-changes :
10+ runs-on : ubuntu-latest
11+ outputs :
12+ catalog_changed : ${{ steps.filter.outputs.catalog }}
13+ steps :
14+ - name : Check out
15+ uses : actions/checkout@v2
16+
17+ - name : Check for catalog changes
18+ uses : dorny/paths-filter@v3
19+ id : filter
20+ with :
21+ filters : |
22+ catalog:
23+ - 'catalog/**'
24+
1125 build :
26+ needs : check-changes
27+ if : needs.check-changes.outputs.catalog_changed == 'true'
1228 runs-on : ubuntu-latest
13-
29+
1430 steps :
1531 - name : Check out
1632 uses : actions/checkout@v2
17-
33+
1834 # models a future action where the submittor is validated against auth access for the
1935 # catalog contribution
2036 - name : Validate Contributor
3753 token : ${{ secrets.GH_PAT }}
3854 pull-request-number : ${{ github.event.pull_request.number }}
3955 merge-method : merge
40-
You can’t perform that action at this time.
0 commit comments