fix: only on yaml
This commit is contained in:
parent
378e799afa
commit
0a72c4bb58
@ -17,6 +17,17 @@ jobs:
|
||||
run: |
|
||||
apk update
|
||||
apk add git npm
|
||||
- name: Check if files were touched
|
||||
uses: dorny/paths-filter@v3.0.2
|
||||
id: changes
|
||||
with:
|
||||
filters: |
|
||||
yaml:
|
||||
- '**/*.yaml'
|
||||
- '**/*.yml'
|
||||
- name: Skip further steps, when condition is not met
|
||||
if: steps.filter.outputs.yaml == 'false'
|
||||
run: exit 0
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Lint helm files
|
||||
run: |
|
||||
@ -32,6 +43,17 @@ jobs:
|
||||
run: |
|
||||
apk update
|
||||
apk add git npm
|
||||
- name: Check if files were touched
|
||||
uses: dorny/paths-filter@v3.0.2
|
||||
id: changes
|
||||
with:
|
||||
filters: |
|
||||
yaml:
|
||||
- '**/*.yaml'
|
||||
- '**/*.yml'
|
||||
- name: Skip further steps, when condition is not met
|
||||
if: steps.filter.outputs.yaml == 'false'
|
||||
run: exit 0
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Unittest
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user