Skip to content

Add advanced CodeQL setup to replace broken default setup#40

Merged
dduugg merged 1 commit into
mainfrom
codeql-advanced-setup
Jul 24, 2026
Merged

Add advanced CodeQL setup to replace broken default setup#40
dduugg merged 1 commit into
mainfrom
codeql-advanced-setup

Conversation

@dduugg

@dduugg dduugg commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The Gusto enterprise-level security config (Gusto Default Advanced Security, enforced) disables code scanning default (automatic) setup org/enterprise-wide.
  • That has left this repo's default CodeQL setup stuck erroring since the policy took effect, matching the pattern found and fixed in rubyatscale/query_packwerk#37.
  • Adds .github/workflows/codeql.yml, an explicit advanced setup workflow. Pushing an advanced CodeQL workflow causes GitHub to automatically supersede the broken default-setup state, since advanced setup isn't subject to the same enterprise policy.

Test plan

  • Merge and confirm the CodeQL workflow runs successfully on main
  • Confirm the code scanning status page no longer reports configuration errors

- Adds an advanced-setup CodeQL workflow. The Gusto enterprise security config disables code scanning default (automatic) setup org-wide, which has left default CodeQL setup stuck erroring for this repo. An explicit workflow switches to advanced setup, which isn't subject to that policy.
@dduugg
dduugg requested a review from a team as a code owner July 24, 2026 19:16
@github-project-automation github-project-automation Bot moved this to Triage in Modularity Jul 24, 2026
@github-advanced-security

Copy link
Copy Markdown

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:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@dduugg
dduugg merged commit 15f3937 into main Jul 24, 2026
5 checks passed
@dduugg
dduugg deleted the codeql-advanced-setup branch July 24, 2026 19:56
@github-project-automation github-project-automation Bot moved this from Triage to Done in Modularity Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants