Skip to content

Commit 4134304

Browse files
authored
Fix the issue of reporting errors when there are no values files (#1597)
* Fix the issue of reporting errors when there are no values files Signed-off-by: ZePan110 <[email protected]>
1 parent 88947ab commit 4134304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_run-helm-chart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
set -x
5656
if [ "${{ github.ref_name }}" == "main" ]; then
57-
values_files=$(ls ${{ github.workspace }}/comps/${{ inputs.service }}/deployment/kubernetes/*values.yaml)
57+
values_files=$(ls ${{ github.workspace }}/comps/${{ inputs.service }}/deployment/kubernetes/*values.yaml || true)
5858
else
5959
base_commit=${{ github.event.pull_request.base.sha }}
6060
merged_commit=$(git log -1 --format='%H')

0 commit comments

Comments
 (0)