Skip to content

ci(codeql): dormant config + policy doc to constrain future scans#14

Merged
kirill-abblix merged 2 commits into
masterfrom
ci/codeql-guardrails
May 25, 2026
Merged

ci(codeql): dormant config + policy doc to constrain future scans#14
kirill-abblix merged 2 commits into
masterfrom
ci/codeql-guardrails

Conversation

@kirill-abblix
Copy link
Copy Markdown
Member

Summary

  • Adds .github/codeql/codeql-config.yml (paths-ignore + security-and-quality query suite).
  • Adds .github/codeql/README.md documenting Default Setup parameters for restricted re-enable.

Effect

Dormant until CodeQL is enabled. When re-enabled (via the documented API command), scan duration drops ~20-40% from query-suite narrowing + path exclusions.

Test plan

  • actionlint check passes
  • Merge after CI resumes in June (currently billing-frozen)

Adds `.github/codeql/codeql-config.yml` (paths-ignore + security-and-quality
suite) and `README.md` documenting the Default Setup parameters for
re-enabling CodeQL with restricted triggers.

Dormant: no effect until CodeQL is enabled. Reduces scan duration by
~20-40% via path exclusions + lighter query suite. Combined with
trigger limits (master-only push, no weekly schedule, documented in
README), restores predictable cost if CodeQL is ever turned back on.

Background: May 2026 CodeQL ate 824 GHA minutes (52% of org budget)
before being disabled. This commit prepares the guardrails.
So that PRs that change only codeql config still trigger the required
status checks (actionlint + inline-secrets). Without this, branch
protection blocks codeql-only PRs indefinitely because the required
workflows never fire on those changes.
@kirill-abblix kirill-abblix merged commit e2f82fe into master May 25, 2026
2 checks passed
@kirill-abblix kirill-abblix deleted the ci/codeql-guardrails branch May 25, 2026 08:53
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