Skip to content

Fix CodeQL And Stop Building Image#10

Closed
lbedner wants to merge 1 commit intomainfrom
fix-codeql
Closed

Fix CodeQL And Stop Building Image#10
lbedner wants to merge 1 commit intomainfrom
fix-codeql

Conversation

@lbedner
Copy link
Copy Markdown
Owner

@lbedner lbedner commented Aug 22, 2025

Stop building an image, or waiting for one to be built.

Copilot AI review requested due to automatic review settings August 22, 2025 18:26
@lbedner lbedner self-assigned this Aug 22, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the CodeQL security analysis workflow by configuring it to run without building the application. The change removes the explicit autobuild step and instead configures the CodeQL initialization to use "none" build mode, which is appropriate for Python projects that don't require compilation.

Key changes:

  • Removed the separate autobuild step from the CodeQL workflow
  • Added build-mode: none parameter to the CodeQL initialization step

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


- name: Autobuild
uses: github/codeql-action/autobuild@v3
build-mode: none
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

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

The indentation for build-mode: none appears inconsistent with the languages: python parameter above it. Both parameters should be aligned under the with: key with the same indentation level.

Copilot uses AI. Check for mistakes.
@lbedner lbedner added bug Something isn't working github_actions Pull requests that update GitHub Actions code labels Aug 22, 2025
@lbedner
Copy link
Copy Markdown
Owner Author

lbedner commented Aug 22, 2025

This had nothing to do with CodeQL, I had to remove the old docker build from checks from my ruleset for main.

@lbedner lbedner closed this Aug 22, 2025
@lbedner lbedner deleted the fix-codeql branch August 22, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants