Skip to content

Commit e595a5c

Browse files
committed
Fix error code reporting in check_description_files.py
1 parent aad2b60 commit e595a5c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/extension-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
echo "Extension validation: $EXTENSION_RESULT"
151151
152152
if [ "$STRUCTURE_RESULT" != "success" ] || [ "$EXTENSION_RESULT" != "success" ]; then
153-
echo "❌ One or more validation steps failed"
153+
echo "❌ One or more validation steps failed. Check \"Summary\" for more information."
154154
exit 1
155155
else
156156
echo "✅ All validation steps passed"

scripts/check_description_files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,4 +694,5 @@ def main():
694694
]
695695

696696
if __name__ == "__main__":
697-
main()
697+
import sys
698+
sys.exit(main())

0 commit comments

Comments
 (0)