diff --git a/.gitea/workflows/helm.yaml b/.gitea/workflows/helm.yaml index 5e025b8..6120b9f 100644 --- a/.gitea/workflows/helm.yaml +++ b/.gitea/workflows/helm.yaml @@ -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: |