Scope
Remediate remaining correctness/style warnings under actions/setup/js that cluster around numeric parsing/coercion, core.setOutput(...) value types, and bare async entrypoints.
Affected files
actions/setup/js/assign_copilot_to_created_issues.cjs
actions/setup/js/assign_milestone.cjs
actions/setup/js/assign_to_agent.cjs
actions/setup/js/autofix_code_scanning_alert.cjs
actions/setup/js/check_skip_if_check_failing.cjs
actions/setup/js/check_skip_if_helpers.cjs
actions/setup/js/check_stop_time.cjs
actions/setup/js/close_entity_helpers.cjs
actions/setup/js/close_issue.cjs
actions/setup/js/close_pull_request.cjs
actions/setup/js/create_code_scanning_alert.cjs
actions/setup/js/create_discussion.cjs
actions/setup/js/create_issue.cjs
actions/setup/js/create_pr_review_comment.cjs
actions/setup/js/create_project_status_update.cjs
actions/setup/js/ephemerals.cjs
actions/setup/js/error_recovery.cjs
actions/setup/js/generate_usage_activity_summary.cjs
actions/setup/js/github_rate_limit_logger.cjs
actions/setup/js/merge_remote_agent_github_folder.cjs
actions/setup/js/parse_codex_log.cjs
actions/setup/js/parse_mcp_gateway_log.cjs
actions/setup/js/parse_mcp_scripts_logs.cjs
actions/setup/js/parse_token_usage.cjs
actions/setup/js/safe_output_handler_manager.cjs
actions/setup/js/safe_output_helpers.cjs
actions/setup/js/safe_output_type_validator.cjs
actions/setup/js/safe_output_validator.cjs
Representative diagnostics
assign_to_agent.cjs:57 — prefer Number.isNaN(...) over global isNaN(...).
parse_codex_log.cjs:32 — parseInt() must be called with an explicit radix.
create_code_scanning_alert.cjs:263 — setOutput value should be explicitly stringified.
safe_output_handler_manager.cjs:1382 — numeric literal passed to setOutput should be converted explicitly.
merge_remote_agent_github_folder.cjs:438 — bare main() call needs .catch(...).
Expected outcome
Setup runtime scripts should avoid coercive numeric APIs, provide explicit radix/string conversions, and ensure async entrypoints surface rejections predictably.
Checklist
Generated by 🧹 ESLint Monster · 18.5 AIC · ⌖ 7.96 AIC · ⊞ 1.5K · ◷
Scope
Remediate remaining correctness/style warnings under
actions/setup/jsthat cluster around numeric parsing/coercion,core.setOutput(...)value types, and bare async entrypoints.Affected files
actions/setup/js/assign_copilot_to_created_issues.cjsactions/setup/js/assign_milestone.cjsactions/setup/js/assign_to_agent.cjsactions/setup/js/autofix_code_scanning_alert.cjsactions/setup/js/check_skip_if_check_failing.cjsactions/setup/js/check_skip_if_helpers.cjsactions/setup/js/check_stop_time.cjsactions/setup/js/close_entity_helpers.cjsactions/setup/js/close_issue.cjsactions/setup/js/close_pull_request.cjsactions/setup/js/create_code_scanning_alert.cjsactions/setup/js/create_discussion.cjsactions/setup/js/create_issue.cjsactions/setup/js/create_pr_review_comment.cjsactions/setup/js/create_project_status_update.cjsactions/setup/js/ephemerals.cjsactions/setup/js/error_recovery.cjsactions/setup/js/generate_usage_activity_summary.cjsactions/setup/js/github_rate_limit_logger.cjsactions/setup/js/merge_remote_agent_github_folder.cjsactions/setup/js/parse_codex_log.cjsactions/setup/js/parse_mcp_gateway_log.cjsactions/setup/js/parse_mcp_scripts_logs.cjsactions/setup/js/parse_token_usage.cjsactions/setup/js/safe_output_handler_manager.cjsactions/setup/js/safe_output_helpers.cjsactions/setup/js/safe_output_type_validator.cjsactions/setup/js/safe_output_validator.cjsRepresentative diagnostics
assign_to_agent.cjs:57— preferNumber.isNaN(...)over globalisNaN(...).parse_codex_log.cjs:32—parseInt()must be called with an explicit radix.create_code_scanning_alert.cjs:263—setOutputvalue should be explicitly stringified.safe_output_handler_manager.cjs:1382— numeric literal passed tosetOutputshould be converted explicitly.merge_remote_agent_github_folder.cjs:438— baremain()call needs.catch(...).Expected outcome
Setup runtime scripts should avoid coercive numeric APIs, provide explicit radix/string conversions, and ensure async entrypoints surface rejections predictably.
Checklist
isNaN(...)withNumber.isNaN(...)patterns that preserve intended semanticsparseInt(...)core.setOutput(...)values explicit strings where required.catch(...)wrappers to bare async entrypointsactions/setup/jsnpm run lint:setup-js