Repository navigation
ci(deps): bump actions/setup-node from 4 to 7 - #256
dependabot[bot] wants to merge 1 commit into
Conversation
AssigneesThe following users could not be added as assignees: Please fix the above issues or remove invalid values from |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-node Please review the changelog and breaking changes before merging. |
4 similar comments
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-node Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-node Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-node Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-node Please review the changelog and breaking changes before merging. |
e5aa9a6 to
9663264
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-node Please review the changelog and breaking changes before merging. |
9663264 to
4f5fb24
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-node Please review the changelog and breaking changes before merging. |
|
@dependabot rebase |
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 7. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v4...v7) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
4f5fb24 to
24e94ee
Compare
|
Superseded by #304, which takes this bump along with the other seven outdated action majors in one reviewed change. Two reasons for consolidating rather than merging these individually:
#304 carries the same version change, with the removed-input and removed-env checks done against this repo, and — for |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: actions/setup-node Please review the changelog and breaking changes before merging. |
… cause 5 (#304) * ci: every action to its current major, and stop switching Go toolchains mid-build Eight actions: setup-go 5→7, setup-node 4→7, setup-python 5→7, docker/metadata-action 5→6, docker/setup-buildx-action 3→4, docker/build-push-action 5→7, docker/login-action 3→4, dependabot/fetch-metadata 2→3. Dependabot proposed five of these (#254-#258) and five is also open-pull-requests-limit, so the other three were never proposed at all. The queue was saturated. Worth remembering that a quiet Dependabot can mean "nothing to do" or "no room to say so." setup-go is the one that changes behavior, so it was traced rather than assumed. v5 reads the `go` line and installed go1.26.0; Go's own toolchain switching then fetched go1.26.5 on the first build, because `toolchain go1.26.5` says to. The right compiler was used — `go version` reported 1.26.5 — but it arrived at build time, over the network, once per job, and the tar warnings about gotoolchain_*.txt "File exists" in every job log were that download racing the module cache restore. v6+ parses `toolchain` directly and exports GOTOOLCHAIN=local, so 1.26.5 installs up front and nothing switches. Verified against the v7 sources, not the PR discussion: installer.ts parseGoVersionFile matches /^toolchain go(1\.\d+...)/m and prefers it unless GOTOOLCHAIN is already `local`, and main.ts calls setGoToolchain() to set exactly that. The comment in go.mod is updated, including the new failure mode — under GOTOOLCHAIN=local a toolchain version setup-go cannot install fails the build rather than quietly falling back to one that works. Checked for each of the others instead of trusting the release notes: - buildx v4 removed the deprecated `config`, `config-inline` and `install` inputs. Not used here. - build-push-action v7 removed DOCKER_BUILD_NO_SUMMARY and DOCKER_BUILD_EXPORT_RETENTION_DAYS. Neither appears in .github/. - setup-python v7 removed the `pip-install` input. Not used. - setup-node v6 limited automatic caching to npm. No `cache:` input is set on the Node or Python steps, so it cannot apply. - All eight need runner >= v2.327.1 for their Node 24 runtime; ubuntu-latest satisfies that. Node 20 -> 22 in the sdk-metrics job while it was open. 20 reached end of life in April 2026 and sdks/javascript declares `node >=16`, so nothing held the pin down except never having revisited it. Closes #254, closes #255, closes #256, closes #257, closes #258 * fix(ci): drop the approve step — Actions can't approve, and bash -e ate the merge Cause 5 of "46 Dependabot PRs opened, 0 merged." Fixing #288 made .github/dependabot.yml valid. Dependabot re-evaluated it within minutes and opened 14 PRs across ecosystems it had never touched, and the `automerge` label arrived on every one of them — the label plumbing works. And still nothing merged, because the step finally ran instead of being skipped, and failed: failed to create review: GraphQL: GitHub Actions is not permitted to approve pull requests. (addPullRequestReview) can_approve_pull_request_reviews is false at the repository level. The step body was `gh pr review --approve` then `gh pr merge --auto --squash`, under `bash -e`, so the failing first line aborted before the line that does the work. The approval was never needed. Branch protection on main requires status checks and has required_pull_request_reviews: null — nothing is waiting on a review. Deleting the line is the fix. Enabling "Allow GitHub Actions to create and approve pull requests" would instead grant every workflow in the repository the ability to satisfy a review requirement, to buy something no rule asks for. Causes 1 and 4 both kept the `if:` condition false, so the step was skipped and this one could not produce a symptom until they were gone. That is the shape worth recording: a fix that should have worked and didn't usually means a second cause, not a wrong diagnosis. All five are now enumerated in the workflow header in the order they were found, with why each hid the next. Closes #305
Bumps actions/setup-node from 4 to 7.
Release notes
Sourced from actions/setup-node's releases.
... (truncated)
Commits
8207627Migrate to ESM and upgrade dependencies (#1574)04be95cAdd cache-primary-key and cache-matched-key as outputs (#1577)7c2c68ddocs: Update caching recommendations to mitigate cache poisoning risks (#1567)6a61c03Merge pull request #1569 from jasongin/update-actions-cache-5.1.030eb73bResolve high-severity audit issues4e1a87aUpdate dist360237fStrict equality4f8aac5Bump@actions/cacheto 5.1.0, log cache write deniedf4a67bbOnly usemirrorTokeningetManifestif it's provided (#1548)0355742Remove dummy NODE_AUTH_TOKEN export (#1558)