Skip to content

ci: modified codeql-action steps to have the same version - #916

Merged
cmainas merged 3 commits into
urunc-dev:main-pr916from
OdysseasKalaitsidis:ci/fix-codeql-version-mismatch
Aug 10, 2026
Merged

ci: modified codeql-action steps to have the same version#916
cmainas merged 3 commits into
urunc-dev:main-pr916from
OdysseasKalaitsidis:ci/fix-codeql-version-mismatch

Conversation

@OdysseasKalaitsidis

@OdysseasKalaitsidis OdysseasKalaitsidis commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Description

After investigating the CodeQL workflow, I found that commit 9d371bc changed only the init step to v4.37.4 but left the autobuild and analyze steps on the older version of v4.36.2. Since all steps come from the same codeql-action and need to stay on the same version, the version drift caused the init to write a config file newer than the analyze could read and the run failed with
"Loaded a configuration file for version '4.37.4', but running
version '4.36.2'"

The PR modifies the codeql.yml to point to the same new version v4.37.4

Related issues

Fixes #915

How was this tested?

I pulled the actual failed run 31158525443 to confirm the error and checked via GitHub API the version tag and the commit SHA it points to. It confirmed that the init step new SHA is the v4.37.4 so the comment # v3.29.5 next to it in the file was wrong and that the old SHA is still used by the autobuild and analze which was the v4.36.2

LLM usage

Claude Sonnet 5 assisted me in investigating the failing run. I reviewed the diagnosis and the fix myself before submitting this PR.

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally (make test_ctr, make test_nerdctl, make test_docker, make test_crictl).
  • If LLMs were used: I have read the llm policy.

@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 12f6d4d
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/6a7989ea30149e00088ad850

@Nachiket-Roy

Copy link
Copy Markdown

To prevent this from happening again, we need to update dependabot.yaml and group these 3 together so there is no drift

@cmainas

cmainas commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

To prevent this from happening again, we need to update dependabot.yaml and group these 3 together so there is no drift

Yeap, that sounds a good idea. Let;s add it in this PR.

@OdysseasKalaitsidis

Copy link
Copy Markdown
Contributor Author

Totally agree, adding the changes to the dependabot.yaml to the PR.

@cmainas

cmainas commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Thank you @OdysseasKalaitsidis , you will also need to add yourself in https://github.com/urunc-dev/urunc/blob/main/.github/contributors.yaml

@OdysseasKalaitsidis

Copy link
Copy Markdown
Contributor Author

@cmainas thank you for the instruction, added myself as odykal on contributors.yaml

@Nachiket-Roy

Copy link
Copy Markdown

@cmainas thank you for the instruction, added myself as odykal on contributors.yaml

Hey, you also removed some of the past contributors. Also, ensure that the commits are DCO-signed and there are no merge commits.

@OdysseasKalaitsidis

Copy link
Copy Markdown
Contributor Author

@Nachiket-Roy Thank you for appointing the issues with my PR. Fixing, wont happen again

The init, autobuild and analyse in codeql.yml had drifted to different CodeQL  versions 4.37.4 vs 4.36.2, causing codeql runs to fail
Fixes: urunc-dev#915

Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
Modified dependabot.yml to group codeql-action so dependabot groups all steps together in a single PR instead one at a time, preventing the version drift that caused urunc-dev#915

Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
@OdysseasKalaitsidis
OdysseasKalaitsidis force-pushed the ci/fix-codeql-version-mismatch branch from 0ae62ce to 822dda5 Compare August 7, 2026 18:52

@cmainas cmainas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @OdysseasKalaitsidis for updating the PR,

just make sure to use your github handle.

Comment thread .github/contributors.yaml Outdated
@cmainas

cmainas commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Thank you @OdysseasKalaitsidis , could you squash it with the commit that introduced the entry in the first place?

@OdysseasKalaitsidis
OdysseasKalaitsidis force-pushed the ci/fix-codeql-version-mismatch branch from 0611e39 to 3475cbd Compare August 10, 2026 08:04
@OdysseasKalaitsidis

Copy link
Copy Markdown
Contributor Author

Squashed into a single commit @cmainas , thank you again!

@cmainas

cmainas commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Hello @OdysseasKalaitsidis ,

the failure in the check is about your name. You can either replace your name from the commit with something like "adding myself" or add your name here too https://github.com/urunc-dev/urunc/blob/main/.github/linters/urunc-dict.txt.

Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
@OdysseasKalaitsidis
OdysseasKalaitsidis force-pushed the ci/fix-codeql-version-mismatch branch from 3475cbd to 12f6d4d Compare August 10, 2026 08:20
@OdysseasKalaitsidis

Copy link
Copy Markdown
Contributor Author

Hey @cmainas , saw the error log, added my name and surname to the urunc-dict.txt

@urunc-bot
urunc-bot Bot changed the base branch from main to main-pr916 August 10, 2026 08:34

@cmainas cmainas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@cmainas
cmainas merged commit 04aec33 into urunc-dev:main-pr916 Aug 10, 2026
34 checks passed
github-actions Bot pushed a commit that referenced this pull request Aug 10, 2026
The init, autobuild and analyse in codeql.yml had drifted to different CodeQL  versions 4.37.4 vs 4.36.2, causing codeql runs to fail
Fixes: #915

PR: #916
Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
github-actions Bot pushed a commit that referenced this pull request Aug 10, 2026
Modified dependabot.yml to group codeql-action so dependabot groups all steps together in a single PR instead one at a time, preventing the version drift that caused #915

PR: #916
Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
github-actions Bot pushed a commit that referenced this pull request Aug 10, 2026
PR: #916
Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
@cmainas cmainas mentioned this pull request Aug 10, 2026
urunc-bot Bot pushed a commit that referenced this pull request Aug 10, 2026
The init, autobuild and analyse in codeql.yml had drifted to different CodeQL  versions 4.37.4 vs 4.36.2, causing codeql runs to fail
Fixes: #915

PR: #916
Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
urunc-bot Bot pushed a commit that referenced this pull request Aug 10, 2026
Modified dependabot.yml to group codeql-action so dependabot groups all steps together in a single PR instead one at a time, preventing the version drift that caused #915

PR: #916
Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
urunc-bot Bot pushed a commit that referenced this pull request Aug 10, 2026
PR: #916
Signed-off-by: Odysseas Kalaitsidis <odysseaskalaitsides@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
@OdysseasKalaitsidis

Copy link
Copy Markdown
Contributor Author

@cmainas @Nachiket-Roy Thank you for the warm introduction to the urunc community, more than happy to contribute more and grow together.

@OdysseasKalaitsidis
OdysseasKalaitsidis deleted the ci/fix-codeql-version-mismatch branch August 10, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CodeQl workflow fails

3 participants