Skip to content

Added custom build command for CodeQL analysis - #70

Merged
jerrytfleung merged 7 commits into
swofrom
codeql
Apr 16, 2026
Merged

Added custom build command for CodeQL analysis#70
jerrytfleung merged 7 commits into
swofrom
codeql

Conversation

@jerrytfleung

@jerrytfleung jerrytfleung commented Apr 16, 2026

Copy link
Copy Markdown
  1. Revert CodeQL workflow and add custom build command for Golang
  2. Fixed go.sum

@jerrytfleung
jerrytfleung marked this pull request as ready for review April 16, 2026 22:35
Copilot AI review requested due to automatic review settings April 16, 2026 22:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s CodeQL GitHub Actions workflow to support manual triggering and to use explicit build commands (instead of CodeQL Autobuild) for certain languages, alongside a small Go module checksum fix under collector/internal/tools.

Changes:

  • Added workflow_dispatch to the CodeQL workflow trigger set.
  • Adjusted CodeQL build strategy to skip Autobuild for go and added a custom make build step (plus added Java/.NET build steps).
  • Updated collector/internal/tools/go.sum with an additional module checksum entry.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
collector/internal/tools/go.sum Adds a missing go.sum entry for a dependency used by the tools module.
.github/workflows/codeql.yml Enables manual runs and switches Go (and potentially other languages) to explicit build steps instead of Autobuild.

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

@jerrytfleung
jerrytfleung requested review from a team April 16, 2026 22:53
@jerrytfleung jerrytfleung changed the title Codeql Added custom build command for CodeQL analysis Apr 16, 2026
@jerrytfleung
jerrytfleung merged commit c7d0c42 into swo Apr 16, 2026
4 checks passed
@jerrytfleung
jerrytfleung deleted the codeql branch April 16, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants