Skip to content

ci: forbid GitHub code scanning uploads#122

Merged
haasonsaas merged 1 commit into
mainfrom
codex/forbid-code-scanning-uploads-20260521
May 21, 2026
Merged

ci: forbid GitHub code scanning uploads#122
haasonsaas merged 1 commit into
mainfrom
codex/forbid-code-scanning-uploads-20260521

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

  • expand the no-CodeQL audit to also catch generic GitHub Code Scanning upload surfaces
  • search checked-in workflows for /code-scanning/sarifs, upload-sarif, and security-events: write
  • update the audit output/test wording from CodeQL-only to CodeQL/Code Scanning

Why

EvalOps does not use CodeQL or GitHub Code Scanning. The prior guardrail caught CodeQL workflows, but deploy and keep still had SARIF upload paths into GitHub Code Scanning. This closes that recurrence path.

Rollback

Revert this PR to restore the narrower CodeQL-only workflow audit.

Test Plan

  • ruby -Itest test/audit_engineering_practices_test.rb
  • ruby -Itest -e 'Dir["test/*_test.rb"].sort.each { |path| load path }'
  • git diff --check

Dependency

This guardrail is expected to go green after evalops/deploy#4167 and evalops/keep#83 remove the existing Code Scanning upload surfaces from default branches.

@haasonsaas haasonsaas merged commit 5e309e4 into main May 21, 2026
5 checks passed
@haasonsaas haasonsaas deleted the codex/forbid-code-scanning-uploads-20260521 branch May 21, 2026 20:43
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