Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
  • Loading branch information
Vyom-Yadav committed Jan 11, 2025
1 parent 1dce3b0 commit dea0462
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/krel-release-notes-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,12 @@ jobs:
INVALID_FILES=""
while IFS= read -r file; do
echo "Validating YAML file: $file"
# Log the full command output to actions log
set +e
"${KREL_PATH}" release-notes validate --path-to-release-notes "$file"
if [ $? -ne 0 ]; then
exit_code=$?
set -e
if [ $exit_code -ne 0 ]; then
INVALID_FILES="${INVALID_FILES}- ${file##*/}\n"
fi
done <<< "$CHANGED_FILES"
Expand Down

0 comments on commit dea0462

Please sign in to comment.