Codeql action unable to build .NET project randomly

Open
#3,208 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
github-actions
Domain
ci-cd, security

Research direction

Start by comparing the successful run linked from pull request 837 with the failing runs from pull requests 857 and 862, including the CodeQL job logs and the manual build steps added in pull request 862. Determine why the .NET build began failing and verify that the CodeQL workflow completes successfully on the affected project.

Written by the indexing model from the issue text.

Description

I have recently updated my project to CodeQL v4 action: https://github.com/alexaka1/distroless-dotnet-healthchecks/pull/837 and as part of CI, CodeQL action ran successfully: https://github.com/alexaka1/distroless-dotnet-healthchecks/actions/runs/18435151787?pr=837

However a few days ago all of CodeQL runs are failing eg: https://github.com/alexaka1/distroless-dotnet-healthchecks/actions/runs/18507573818?pr=857

So I have tried to add manual build steps according to the docs: https://github.com/alexaka1/distroless-dotnet-healthchecks/pull/862
However CodeQL is still failing! https://github.com/alexaka1/distroless-dotnet-healthchecks/actions/runs/18557037290/job/52896877729?pr=862

I do not know what I am doing wrong, or why suddenly CodeQL started to fail even on the same codebase that has successful CodeQL runs in the past with this very version.

Dominant language
TypeScript
Stars
1.6k
Forks
493
Avg merge
1d 13h
Merged PRs (30d)
44

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/codeql-action

All issues in github/codeql-action

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.