Skip to content

bump @actions/core from 1.10.1 to 3.0.0 in /snapshoty/run#522

Open
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/npm_and_yarn/snapshoty/run/actions/core-3.0.0
Open

bump @actions/core from 1.10.1 to 3.0.0 in /snapshoty/run#522
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/npm_and_yarn/snapshoty/run/actions/core-3.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 26, 2026

Bumps @actions/core from 1.10.1 to 3.0.0.

Since @actions/core 3.0.0 is now a pure ESM package, the following additional changes were required to make the action fully functional:

  • Converted index.js from CommonJS (require) to ESM (import) syntax
  • Added "type": "module" to package.json
  • Fixed an implicit global variable in a for...of loop
  • Rebuilt dist/index.js using ncc in ESM mode

@dependabot dependabot bot added the changelog:dependencies When you add or update a dependency label Mar 26, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 26, 2026 11:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/snapshoty/run/actions/core-3.0.0 branch from dc26cc3 to e19a3d7 Compare March 27, 2026 11:27
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.10.1 to 3.0.0.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot changed the title build(deps): bump @actions/core from 1.10.1 to 3.0.0 in /snapshoty/run bump @actions/core from 1.10.1 to 3.0.0 in /snapshoty/run Mar 31, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/snapshoty/run/actions/core-3.0.0 branch from e19a3d7 to 7820139 Compare March 31, 2026 18:02
@github-actions
Copy link
Copy Markdown
Contributor

Dependency Update Analysis

Summary: actions/core was updated from 1.10.1 to 3.0.0 in snapshoty/run (npm, direct production dependency). Overall risk: high due to a confirmed breaking runtime/build incompatibility (ESM-only package consumed via CommonJS require).

actions/core 1.10.13.0.0

Ecosystem: npm / Node

Check Result
Breaking changes ⚠️ Foundactions/core 3.0.0 is ESM-only; CommonJS consumers must use dynamic import()
Testable in PR ⚠️ No evidence of PR workflow coverage for snapshoty/run in this repo
Changelog highlights (v1.10.1 → v3.0.0)
  • Release notes state a breaking change in 3.0.0: ESM-only.
  • Intermediate major updates include Node 24 alignment and dependency bumps (actions/http-client, actions/exec).
  • No explicit CVE IDs / GHSA advisories are listed in release notes for this range.
  • Transitive security-relevant surface changed (newer HTTP stack including undici), but that does not offset the immediate module-format break.
Usage in this repository

snapshoty/run/index.js uses CommonJS import and core APIs:

  • snapshoty/run/index.js:1const core = require('@actions/core');
  • snapshoty/run/index.js:7-12core.getInput(...)
  • snapshoty/run/index.js:30 and :40core.setSecret(...)
  • snapshoty/run/index.js:52core.isDebug()
  • snapshoty/run/index.js:59core.setFailed(...)

The action is configured as a Node action (snapshoty/run/action.yml:23-24, using: 'node24', main: 'dist/index.js').

Compatibility assessment (CVE-focused)
  • Verified incompatibility: local install/build for snapshoty/run fails after this bump during ncc build with:
    • Package path . is not exported from package ... node_modules/@actions/core``
  • Root cause: repository code still uses CommonJS require('@actions/core'), while v3 is ESM-only.
  • CVE-focused view:
    • No release-note CVE/GHSA entries were identified for this update.
    • Internal dependency shifts may preserve or slightly improve baseline HTTP security posture.
    • Practical risk here is a functional availability regression (action packaging/runtime break), not an exploitable-security reduction in this repo.

Risk conclusion: high.

Labels Applied

No labels applied. oblt-aw/ai/merge-ready criteria are not met (overall risk is high and breaking change affects current repository usage).

Note

🔒 Integrity filtering filtered 1 item

Integrity filtering activated and filtered the following item during workflow execution.
This happens when a tool call accesses a resource that does not meet the required integrity or secrecy level of the workflow.


What is this? | From workflow: Observability Agentic Workflow Entrypoint

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@v1v
Copy link
Copy Markdown
Member

v1v commented Apr 1, 2026

@copilot review if the changes will be enough for the snapshoty/run action

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

@copilot review if the changes will be enough for the snapshoty/run action

The original dependency bump (package.json + package-lock.json) wasn't enough — @actions/core 3.0.0 is a pure ESM package, which means:

  1. The old require('@actions/core') CJS syntax would fail at runtime
  2. ncc couldn't bundle it when building the dist/index.js

Fixed in commit 7cc8f9a with:

  • Converted index.js to use ESM (import instead of require)
  • Added "type": "module" to package.json
  • Fixed an implicit global variable in a for...of loop
  • Rebuilt dist/index.js using ncc in ESM mode (the bundled dist grew from ~63kB to ~490kB, reflecting the new @actions/core 3.0.0 dependencies)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:dependencies When you add or update a dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants