Consolidate CodeQL scanning for Go and Actions - #116
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Copilot started reviewing on behalf of
Jared Holgate (jaredfholgate)
August 4, 2026 14:43
View session
There was a problem hiding this comment.
Pull request overview
Adds a dedicated GitHub Actions workflow intended to run CodeQL “Advanced” scanning for this repository.
Changes:
- Introduces a new
.github/workflows/codeql.ymlworkflow for CodeQL analysis. - Configures a language matrix (actions + go) with per-language build modes.
- Triggers analysis on pushes/PRs to
mainand on a weekly schedule.
Suppressed comments (2)
.github/workflows/codeql.yml:90
- The manual build step block is mis-indented under
steps:(and therun: |block contents need to be indented relative torun). As written, this YAML will not parse correctly.
- name: Run manual build steps
if: matrix.build-mode == 'manual'
shell: bash
run: |
.github/workflows/codeql.yml:101
- The CodeQL analyze step is mis-indented under
steps:. It also should be pinned to a SHA for consistency with the rest of the repo’s workflows.
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Move CodeQL into one scheduled workflow, scan Go and Actions on Linux, and pin the linked tool bundle so database format changes follow reviewed Action updates. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc5a793d-8f62-4df3-90cc-44b814cf73e2
Jared Holgate (jaredfholgate)
force-pushed
the
jaredfholgate-patch-1
branch
from
August 19, 2026 16:47
7303efa to
f41c2b2
Compare
Jared Holgate (jaredfholgate)
enabled auto-merge (squash)
August 19, 2026 16:50
Jack Tracey (jtracey93)
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
contents: readWhy
S360 reports that
github:azure/mapotfneeds a Go snapshot. GitHub CodeQL itself is configured and passing, but CAP Central job5d1a40d6-9006-473e-9e77-14ae2cabd570failed because its CodeQL 2.26.0 analyzer and Microsoft Go query pack 0.1.565 could not analyze a newer GitHub-generated database. The dedicated workflow uses the bundle linked to the reviewed Action version while removing duplicate per-OS scans.GitHub default setup is also active today. After this pull request merges, a repository administrator should disable default setup so this advanced workflow is the only CodeQL producer.
Validation
go build ./...go test ./...