leanprover / leanprover/cslib

Automate `lake update` PRs

Open
#294 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
709
Forks
200
Avg merge
3d 6h
Merged PRs (30d)
45

Description

Following #293, we would like a workflow that automates running lake update. What I would like ideally is:

  • at some cron interval (day, week?) the bot runs lake update and opens a PR
  • if CI is a success, the bot places it on the merge queue
  • on failure, the PR remains open so a maintainer can fix

This will need to be a little different from the Mathlib equivalent, as the bot will need to actually merge the PR versus leaving a bors comment.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #293 and the Mathlib equivalent mentioned in the issue to understand the existing update workflow. Inspect the repository's current CI and workflow configuration, then determine how lake update, PR creation, CI results, and merge-queue handling should fit together. Done means a scheduled update PR is opened, merged after successful CI, and left open on failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.