Skip to content

Choose a tag to compare

@aguilita1 aguilita1 released this 24 Oct 18:15
· 6 commits to main since this release
d8db2db

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 return statement. 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 ⚠️ Now produce a clearer hint message instead of a stack trace
Downstream Steps Using result Output ✅ Unaffected — still receives error message in JSON

New Contributors

Full Changelog: v1.1.1...v1.1.2