-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (41 loc) · 1008 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: ci
on:
# Run on all PRs
pull_request:
jobs:
detect-changes:
runs-on: ubuntu-latest
outputs:
charts: ${{ steps.changes.outputs.changes }}
steps:
-
name: Find changed charts
id: changes
uses: dorny/paths-filter@v3
with:
filters: |
aserto:
- 'aserto/**'
aserto_lib:
- 'aserto-lib/**'
authorizer:
- 'authorizer/**'
console:
- 'console/**'
directory:
- 'directory/**'
discovery:
- 'discovery/**'
scim:
- 'scim/**'
test-changes:
runs-on: ubuntu-latest
needs: detect-changes
strategy:
matrix:
chart: ${{ fromJSON(needs.detect-changes.outputs.charts) }}
steps:
-
name: Lint ${{ matrix.chart.name }}
run: |
echo "Linting ${{ matrix.chart.name }}. Modified: ${{ matrix.chart.modified }}"