fix: only on yaml
This commit is contained in:
parent
bccfbb3037
commit
76fffa25ca
@ -17,6 +17,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add git npm
|
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
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Lint helm files
|
- name: Lint helm files
|
||||||
run: |
|
run: |
|
||||||
@ -32,6 +43,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add git npm
|
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
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Unittest
|
- name: Unittest
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user