From 88b379c85923d357cc4fa1ea23c22175d328e28d Mon Sep 17 00:00:00 2001 From: Pascal Zimmermann Date: Thu, 15 Jan 2026 20:18:53 +0100 Subject: [PATCH] feat: Add error message --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index d8e5e56..dcc307d 100644 --- a/action.yml +++ b/action.yml @@ -74,7 +74,10 @@ runs: REF_PATH="main" fi - curl -s -L -o /tmp/check_changed_files.py "https://${AUTH_PREFIX}raw.githubusercontent.com/ZPascal/check-changed-files-action/$REF_PATH/src/check_changed_files.py" + if ! curl -f -s -L -o /tmp/check_changed_files.py "https://${AUTH_PREFIX}raw.githubusercontent.com/ZPascal/check-changed-files-action/$REF_PATH/src/check_changed_files.py"; then + echo "Error: Failed to download check_changed_files.py script" + exit 1 + fi optional_flags="" if [ -n "${{ inputs.git_location }}" ]; then