Skip to content

Commit 4533eba

Browse files
committed
fix(workflows): address Copilot review round 10 comments
- shared-release: add file existence check for makefile-path in Validate inputs step to fail fast with a clear message instead of a confusing grep error when the path is wrong Signed-off-by: I313226 <onur.yilmaz@sap.com>
1 parent 84169ad commit 4533eba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/shared-release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ jobs:
8282
echo "ERROR: makefile-path is required for version computation"
8383
exit 1
8484
fi
85+
if [ ! -f "${{ inputs.makefile-path }}" ]; then
86+
echo "ERROR: makefile-path '${{ inputs.makefile-path }}' does not exist"
87+
exit 1
88+
fi
8589
8690
- name: Compute new version
8791
id: version

0 commit comments

Comments
 (0)