Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
This PR fixes the PR release workflow which was failing due to the deprecated `MATHLIB4_COMMENT_BOT` PAT being invalid. **Error:** `jq: error (at <stdin>:4): Cannot index string with string "name"` when fetching labels - the API returned an error response instead of labels array because the PAT credentials were bad. **Changes:** - Generate a token from the `mathlib-lean-pr-testing` GitHub App (ID: 2785182) for posting comments to Lean PRs about mathlib compatibility - Use `GITHUB_TOKEN` for read-only label fetching (no special identity needed) - Update the bot username check from `leanprover-community-bot` to `mathlib-lean-pr-testing[bot]` **Secrets added:** `MATHLIB_LEAN_PR_TESTING_APP_ID` and `MATHLIB_LEAN_PR_TESTING_PRIVATE_KEY` have been added to the repository. Fixes the CI failure at https://github.com/leanprover/lean4/actions/runs/21705647318/job/62595966115 🤖 Prepared with Claude Code Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .github | ||
| doc | ||
| images | ||
| releases_drafts | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .gitpod.Dockerfile | ||
| .gitpod.yml | ||
| .ignore | ||
| CMakeLists.txt | ||
| CMakePresets.json | ||
| CODEOWNERS | ||
| CONTRIBUTING.md | ||
| flake.lock | ||
| flake.nix | ||
| lean-toolchain | ||
| lean.code-workspace | ||
| LICENSE | ||
| LICENSES | ||
| README.md | ||
| RELEASES.md | ||
This is the repository for Lean 4.
About
- Quickstart
- Homepage
- Theorem Proving Tutorial
- Functional Programming in Lean
- Documentation Overview
- Language Reference
- Release notes starting at v4.0.0-m3
- Examples
- External Contribution Guidelines
Installation
See Install Lean.
Contributing
Please read our Contribution Guidelines first.
Building from Source
See Building Lean.