Skip to content

Harden CI/security: CodeQL + Dependabot + coverage gate + SECURITY#1

Merged
Jott2121 merged 1 commit into
mainfrom
harden/ci-security
Jun 17, 2026
Merged

Harden CI/security: CodeQL + Dependabot + coverage gate + SECURITY#1
Jott2121 merged 1 commit into
mainfrom
harden/ci-security

Conversation

@Jott2121

Copy link
Copy Markdown
Owner

Applies the uniform reliability/security standard (proven on agent-gate #1).

Added

  • CodeQL (security-extended) → Security tab
  • Dependabot — weekly pip + github-actions
  • Coverage gate--cov=rag_guard --cov-fail-under=90 across Python 3.11–3.13 (measured 99%) + self-contained coverage badge/PR-comment
  • SECURITY.md — private disclosure policy
  • Supply-chain — least-privilege permissions:; Actions pinned to commit SHAs
  • README — CodeQL + coverage badges + Reliability & security section

Verified locally

pytest --cov=rag_guard --cov-fail-under=90 → pass, 99%, 20 tests · coverage-json clean · YAML valid.

Branch protection enabled after merge.

🤖 Generated with Claude Code

…o SHAs

Uniform reliability/security standard (template proven on agent-gate):
- codeql.yml: security-extended SAST on push/PR/weekly
- dependabot.yml: weekly pip + github-actions updates
- ci.yml: coverage-gated matrix (--cov=rag_guard --cov-fail-under=90; 99% covered)
  + self-contained coverage badge/PR-comment job; least-priv perms; SHA-pinned actions
- pyproject: [tool.coverage.run] source + relative_files
- SECURITY.md: private vuln disclosure policy
- README: CodeQL + coverage badges + Reliability & security section

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@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.

@Jott2121 Jott2121 merged commit ccd5883 into main Jun 17, 2026
6 checks passed
@Jott2121 Jott2121 deleted the harden/ci-security branch June 17, 2026 23:52
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.

2 participants