Skip to content

Cap @actions/exec and @actions/core below the ESM-only 3.x majors - #628

Merged
MaddyMicrosoft merged 1 commit into
masterfrom
cap-actions-esm-majors
Aug 25, 2026
Merged

Cap @actions/exec and @actions/core below the ESM-only 3.x majors#628
MaddyMicrosoft merged 1 commit into
masterfrom
cap-actions-esm-majors

Conversation

@MaddyMicrosoft

Copy link
Copy Markdown
Member

@actions/exec 3.0.0 and @actions/core 3.0.1 ship as ESM-only (package.json "type": "module"), which the CommonJS ncc bundle cannot require() (see the failing bumps in #623 and #624, same failure mode as the already-capped @actions/io). Extend the existing ESM cap to these two packages so Dependabot stays on their 2.x (CommonJS) line until the action migrates to ESM. @actions/http-client 3.x remains CommonJS and is intentionally not capped.

@actions/exec 3.0.0 and @actions/core 3.0.1 ship as ESM-only
(package.json "type": "module"), which the CommonJS ncc bundle cannot
require() (see the failing bumps in #623 and #624, same failure mode as the
already-capped @actions/io). Extend the existing ESM cap to these two packages
so Dependabot stays on their 2.x (CommonJS) line until the action migrates to
ESM. @actions/http-client 3.x remains CommonJS and is intentionally not capped.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@MaddyMicrosoft
MaddyMicrosoft merged commit d90bae5 into master Aug 25, 2026
9 of 20 checks passed
@MaddyMicrosoft
MaddyMicrosoft deleted the cap-actions-esm-majors branch August 25, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants