Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin workflow to @actions/core@1.10.1 #522

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Pin workflow to @actions/core@1.10.1 #522

merged 1 commit into from
Oct 4, 2024

Conversation

jasonforal
Copy link
Collaborator

What problem are you trying to solve?

Our regression check JavaScript script specifies @actions/core@^1.10.6 as a dependency. Two days ago, v1.11.0 was released, and this breaks our workflow with the following error:

image

(I artificially introduced this regression -- job here)

The upstream issue of note is actions/toolkit#1841. It seems upgrading to Node 20 would also solve this for us, but pinning seems more prudent at the moment.

What is your solution?

Pin to exactly 1.10.6.

Re-running the job shows it now works:
image

Alternatives considered

What the reviewer should know

  • This is triggered only when there is a detection regression in a PR.

@jasonforal jasonforal requested a review from a team as a code owner October 4, 2024 21:01
@jasonforal jasonforal requested a review from amaanq October 4, 2024 21:01
@jasonforal jasonforal merged commit 9fbdc19 into main Oct 4, 2024
70 checks passed
@jasonforal jasonforal deleted the jf/node branch October 4, 2024 21:11
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