Skip to content

Commit 179b1cd

Browse files
committed
Fixing steps
1 parent d73cdfb commit 179b1cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
helm: latest
4040

4141
- name: Verify helm chart is valid
42+
id: helm-lint
4243
run: |
4344
helm lint --strict --set kpi.env.secret.DATABASE_URL=test --set kobotoolbox.kobocatDatabase=test --set kpi.version=test
4445
@@ -47,7 +48,8 @@ jobs:
4748
run: |
4849
if [ "${{ steps.check-version.outcome }}" == "failure" ]; then
4950
echo "The chart version ${CHART_VERSION} is not updated. Please update the version in Chart.yaml before merging."
50-
else
51+
fi
52+
if [ "${{ steps.helm-lint.outcome }}" == "failure" ]; then
5153
echo "Helm chart linting failed. Please fix the issues before merging."
5254
fi
5355
exit 1

0 commit comments

Comments
 (0)