Skip to content

feat: quality gates CI/CD (Lean 4 adaptation)#23

Merged
Jonathangadeaharder merged 1 commit into
masterfrom
feat/quality-gates
May 18, 2026
Merged

feat: quality gates CI/CD (Lean 4 adaptation)#23
Jonathangadeaharder merged 1 commit into
masterfrom
feat/quality-gates

Conversation

@Jonathangadeaharder
Copy link
Copy Markdown
Collaborator

Quality Gates for Lean 4 Project

Files

  • pr-gate.yml — PR quality gate with fork guards on all jobs
  • merge-gate.yml — Merge gate, on push to master
  • codeql.yml — Weekly + per-PR CodeQL
  • .semgrep.yml — Lean-aware SAST rules
  • .jscpd.json — Copy-paste detection
  • sonar-project.properties — SonarCloud integration

Adaptation

This is a Lean 4 project using lake. Rust template adapted:

  • cargo fmtlake fmt --check
  • cargo clippylake lint + grep-based verification checks
  • cargo build/checklake build
  • cargo testlake build (build IS verification in Lean)
  • All pr-gate jobs guarded against fork PRs

- pr-gate.yml: format, lint, build, verification audit, semgrep, CodeQL
- merge-gate.yml: same minus non-merge-specific, on push to master
- codeql.yml: weekly + per-PR security analysis
- .semgrep.yml: Lean-aware SAST rules (sorry, axiom, admit, native_decide)
- .jscpd.json: copy-paste detection config for Lean sources
- sonar-project.properties: SonarCloud integration

All pr-gate jobs guarded against fork PRs.
Copilot AI review requested due to automatic review settings May 18, 2026 10:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Jonathangadeaharder Jonathangadeaharder merged commit 66d2adb into master May 18, 2026
2 of 9 checks passed
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