ci: bump github/codeql-action/init from 4.37.3 to 4.37.7 - #617
ci: bump github/codeql-action/init from 4.37.3 to 4.37.7#617dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [github/codeql-action/init](https://github.com/github/codeql-action) from 4.37.3 to 4.37.7. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@e4fba86...ff2f1c6) --- updated-dependencies: - dependency-name: github/codeql-action/init dependency-version: 4.37.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
|
🚀 Website Preview
Preview has been cleaned up as the PR was closed. |
wbreza
left a comment
There was a problem hiding this comment.
SHA pin is authentic v4.37.7, but merging this alone leaves the codeql-action steps on mismatched versions and the Analyze job fails.
What stood out
- Pin is authentic —
ff2f1c62dereferences to the annotated tag v4.37.7 ande4fba868to v4.37.3, so this is a genuine upgrade pointing at a real release commit. - Workflow left on two versions —
initmoves to v4.37.7 whileautobuildandanalyzestay on v4.37.3; the CodeQL runner rejects the mismatch and fails the job. - Security posture unchanged — every action stays SHA-pinned, permissions stay least-privilege, and there is no
pull_request_targetexposure. The upstreamconfig-filedefault-path change does not apply, since this workflow passes noconfig-fileand the repo has no CodeQL config file.
Top issues
- [F-001] codeql-action version skew fails the Analyze job —
.github/workflows/codeql.yml:40
Cross-cutting
|
|
||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4 | ||
| uses: github/codeql-action/init@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4 |
There was a problem hiding this comment.
[F-001] Bumping init on its own puts this workflow on two different CodeQL Action versions, and the Analyze job fails as a direct result.
After this change codeql.yml reads:
- L40
init@ff2f1c62...-> v4.37.7 - L45
autobuild@e4fba868...-> v4.37.3 - L48
analyze@e4fba868...-> v4.37.3
init exports CODEQL_ACTION_VERSION: 4.37.7, and autobuild at 4.37.3 then refuses to load the configuration it wrote. The run on this head fails with:
##[warning]1 issue was detected with this workflow: Not all workflow steps that use `github/codeql-action` actions use the same version.
##[error]We were unable to automatically build your code. ... Loaded a configuration file for version '4.37.7', but running version '4.37.3'
The job ends in configuration error. The last five CodeQL runs on main are green, so this is introduced here rather than inherited.
The companion bumps already exist and target the identical SHA: #616 (autobuild) and #618 (analyze). Merge all three together instead of any one in isolation — merging a subset only relocates the mismatch to a different pair of steps.
To keep this from recurring, group the github/codeql-action/* updates in .github/dependabot.yml so the three sub-actions ship as a single PR.
|
Superseded by #620. |
Bumps github/codeql-action/init from 4.37.3 to 4.37.7.
Release notes
Sourced from github/codeql-action/init's releases.
Changelog
Sourced from github/codeql-action/init's changelog.
... (truncated)
Commits
ff2f1c6Merge pull request #4093 from github/update-v4.37.7-be7a3dbb8951a133Update changelog for v4.37.7be7a3dbMerge pull request #4087 from github/dependabot/npm_and_yarn/npm-minor-0aa561...9310334Merge pull request #4086 from github/mbg/thread-action-state-to-codeqlb4d8a54Rebuildab5db25Bump the npm-minor group across 1 directory with 8 updates38055a3DroploggerfromdatabaseInitClusterin interface1f87aedMerge pull request #4085 from github/update-bundle/codeql-bundle-v2.26.3dc1b98aMakeloggeravailable togetCodeQLForCmd6f0220eMerge pull request #4084 from github/navntoft/bump-undiciDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)