Bump @actions/core from 1.11.1 to 2.0.3#104
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Action’s @actions/core dependency to the latest 2.x release to get a newer toolkit version while avoiding the ESM-only breaking change in v3.
Changes:
- Bump
@actions/corefrom^1.11.1to^2.0.3inpackage.json. - Update
package-lock.jsonto reflect the new dependency graph (including hoisting/removal of now-unneeded nested copies).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updates the direct dependency on @actions/core to ^2.0.3. |
| package-lock.json | Regenerates the lockfile to match the new @actions/core version and its transitive dependencies. |
Comments suppressed due to low confidence (1)
package.json:8
- This repo runs the Action from the committed
dist/index.js(seeaction.yml), but this PR only updatespackage.json/package-lock.json. After bumping@actions/core, thedist/bundle should be regenerated (e.g., via the existingnpm run package) and the updateddist/index.js, sourcemap, andlicenses.txtcommitted; otherwise the published Action will still execute the old bundled dependency versions.
"dependencies": {
"@actions/core": "^2.0.3"
},
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jsf9k
approved these changes
Mar 3, 2026
dav3r
approved these changes
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🗣 Description
This pull request bumps the
@actions/coredependency to a newer version while staying behind v3 as in #101.💭 Motivation and context
It's good to update dependencies, but
3.0.0of this package is ESM-only. This would required multiple changes to this action to support that change, possibly event converting this action into an ECMAScript module itself. I would rather punt on that for now but still update to a more recent version.🧪 Testing
Automated tests pass.
✅ Pre-approval checklist