Skip to content

by/pull upstream#29

Closed
bruce-y wants to merge 90 commits intomainfrom
by/pull-upstream
Closed

by/pull upstream#29
bruce-y wants to merge 90 commits intomainfrom
by/pull-upstream

Conversation

@bruce-y
Copy link
Copy Markdown

@bruce-y bruce-y commented Mar 26, 2026

renovate bot and others added 30 commits October 3, 2024 13:36
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Like BUILD file changes, changes to workspace dependencies can
significantly affect the contents of the disk cache. Prior to this
change, upreving dependencies wasn't itself sufficient to update the
disk cache, resulting in repeatedly rebuilding dependencies until some
subsequent commit happened to modify BUILD files.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot and others added 28 commits January 8, 2026 09:27
…b#123)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…#130)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…b#133)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ontrib#139)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#143)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
GitHub have deprecated NodeJS v20 as an environment for actions,
and will be using NodeJS v24 for all actions from 2nd June 2026[1].

Currently GitHub runners print a deprecation warning in their logs
showing all actions that use the node20 environment, which includes
setup-bazel, so I'm updating the action to use node24, and so remove
it from the deprecation warning.

[1] https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Recent @actions/* modules are ESM, so we need to switch over to ESM as well
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

import * as github from '@actions/github'

const bazeliskVersion = core.getInput('bazelisk-version')
const cacheSave = core.getBooleanInput('cache-save')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cacheSave config is exported but never checked

High Severity

The cacheSave property is read from the cache-save input and exported in the config, but config.cacheSave is never checked anywhere in post.js (which handles cache saving via saveCache and saveExternalCaches). This means the documented feature — "Set to false for pull requests to allow cache restoration without saving" — is a complete no-op. Setting cache-save: false will not prevent caches from being saved.

Additional Locations (1)
Fix in Cursor Fix in Web

const googleCredentialsSaved = (core.getState('google-credentials-path').length > 0)
if (googleCredentials.length > 0 && !googleCredentialsSaved) {
const tmpDir = core.toPosixPath(fs.mkdtempSync(os.tmpdir()))
const tmpDir = core.toPosixPath(fs.mkdtempSync(process.env.RUNNER_TEMP))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mkdtempSync creates temp dir as sibling, not inside

Low Severity

fs.mkdtempSync(process.env.RUNNER_TEMP) appends random characters directly to the prefix. If RUNNER_TEMP is /home/runner/work/_temp, this creates /home/runner/work/_tempXXXXXX (a sibling directory) rather than a subdirectory inside RUNNER_TEMP. A trailing path separator or path.join is needed to create the temp directory inside the intended location.

Fix in Cursor Fix in Web

@bruce-y bruce-y closed this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet