-
Notifications
You must be signed in to change notification settings - Fork 295
Closed
Closed
Copy link
Labels
Description
Problem
Process Safe Outputs can successfully create an issue, but does not emit:
created_issue_numbercreated_issue_url
This breaks workflows that gate downstream jobs on needs.<job>.outputs.created_issue_number.
Root cause
actions/setup/js/safe_outputs_action_outputs.cjs contains logic to emit created_issue_*, but actions/setup/js/safe_output_handler_manager.cjs never calls it.
Current manager path sets outputs like temporary_id_map / processed_count and error channels, but omits created_issue_* emission.
Expected behavior
If at least one create_issue succeeds during Process Safe Outputs, always set:
created_issue_number= first successful issue numbercreated_issue_url= first successful issue URL
Suggested fix
In safe_output_handler_manager.cjs, import and call:
emitSafeOutputActionOutputs(processingResult)
after message processing completes.
Acceptance criteria
- Successful
create_issuealways results increated_issue_numberandcreated_issue_urlstep outputs. safe_outputsjob outputs expose these values for workflow callers.- Add regression coverage in manager tests for output emission.
Reactions are currently unavailable