Skip to content

Create codeql.yml#11

Closed
Deleted user (ghost) wants to merge 1 commit intomasterfrom
LucasL160-patch-5
Closed

Create codeql.yml#11
Deleted user (ghost) wants to merge 1 commit intomasterfrom
LucasL160-patch-5

Conversation

@ghost
Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings January 14, 2026 01:17
@ghost ghost enabled auto-merge (squash) January 14, 2026 01:37
Copy link
Copy Markdown
Author

@ghost Deleted user (ghost) left a comment

Choose a reason for hiding this comment

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

create codeql.yml

@ghost ghost closed this Jan 14, 2026
auto-merge was automatically disabled January 14, 2026 01:38

Pull request was closed

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 pull request adds a CodeQL Advanced workflow for automated security scanning across multiple languages detected in the repository. The workflow is configured to run on pushes and pull requests to specific branches, as well as on a weekly schedule.

Changes:

  • Adds CodeQL Advanced workflow configuration for security scanning
  • Configures analysis for 5 languages: GitHub Actions, C/C++, Java/Kotlin, JavaScript/TypeScript, and Python
  • Sets up automated and manual build modes with appropriate permissions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- language: actions
build-mode: none
- language: c-cpp
build-mode: autobuild
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

This is a complex CMake-based C++ project with custom build requirements. The autobuild mode may not work correctly for this codebase. Consider changing the build-mode to "manual" and providing appropriate CMake configuration commands in the manual build step below (lines 93-102). Review the existing build workflows in the repository for the correct build commands.

Suggested change
build-mode: autobuild
build-mode: manual

Copilot uses AI. Check for mistakes.
Comment on lines +16 to +18
branches: [ "master", "default" ]
pull_request:
branches: [ "master", "default" ]
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

The branch name "default" does not exist in this repository. Based on other workflows in the repository, only the "master" branch is used as the main branch. Remove "default" from both push and pull_request branch configurations to avoid the workflow not triggering as expected.

Suggested change
branches: [ "master", "default" ]
pull_request:
branches: [ "master", "default" ]
branches: [ "master" ]
pull_request:
branches: [ "master" ]

Copilot uses AI. Check for mistakes.
Comment on lines +50 to +51
- language: java-kotlin
build-mode: autobuild
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

The java-kotlin language is configured with autobuild mode, but this repository only contains a few example Java files in the example/android directory for testing purposes. This is primarily a C++ project with Python, JavaScript/TypeScript support. Including java-kotlin may not be necessary and could cause unnecessary build overhead or failures. Consider removing this language entry unless CodeQL analysis of the Android example code is specifically needed.

Suggested change
- language: java-kotlin
build-mode: autobuild

Copilot uses AI. Check for mistakes.
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant