What's Changed
This release fixes a usability defect in GitHub Script with Post action. When action script fails to return a string value script throws cryptic TypeError.
- Added Continuous Integration Workflow: A new CI workflow has been implemented to ensure code quality and stability.
- Added test cases
- Improved Error Handling: The action now includes robust error handling to help users debug common issues.
- Hint for Missing Return Value: A specific check has been added to detect when a user's script does not return a string value.
- Clearer Error Message: If this error occurs, the action will now provide a helpful hint explaining the issue and an example of how to correctly format the
returnstatement. This helps prevent errors like ERR_INVALID_ARG_TYPE and guides users to a solution.
🔧 Developer Impact
| Area | Impact |
|---|---|
| Existing Scripts with Return Values | ✅ No change |
| Scripts Without Return Values | |
| Downstream Steps Using result Output | ✅ Unaffected — still receives error message in JSON |
New Contributors
- @aguilita1 made their first contribution in #1
Full Changelog: v1.1.1...v1.1.2