Zulip Chat Archive
Stream: general
Topic: Why is github-ci creating releases
Shreyas Srinivas (Feb 22 2026 at 14:02):
Hi,
I just setup a new repo and the CI reported failure because it could not create a new release. Why is the CI trying to do this in the first place?
Shreyas Srinivas (Feb 22 2026 at 14:02):
This is not a feature that I believe we want in most project repos or workshop demo repos. I claim that we just need the CI green check to show the project builds.
Yury G. Kudryashov (Feb 22 2026 at 14:03):
What command did you use to create the repo? What's in .github/workflows/*?
Shreyas Srinivas (Feb 22 2026 at 14:04):
lake new <project name> math. There was a create-release.yml in the workflows. I just pushed a commit to delete it
Yury G. Kudryashov (Feb 22 2026 at 14:06):
Here is the contents of the autogenerated file:
name: Create Release
on:
push:
branches:
- 'main'
- 'master'
paths:
- 'lean-toolchain'
jobs:
lean-release-tag:
name: Add Lean release tag
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: lean-release-tag action
uses: leanprover-community/lean-release-tag@v1
with:
do-release: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
It looks like the intent is to create a new release whenever you update your lean-toolchain.
Shreyas Srinivas (Feb 22 2026 at 14:06):
It also runs when a new toolchain project is created
Shreyas Srinivas (Feb 22 2026 at 14:06):
In any case it also fails without some permissions on github, for which no instructions are provided in the auto-generated README.md.
Kim Morrison (Feb 22 2026 at 22:46):
Could you point to a failure example? Or suggest instructions to add?
Shreyas Srinivas (Feb 22 2026 at 22:49):
in DM
Kim Morrison :bot: (Feb 22 2026 at 23:21):
https://github.com/leanprover-community/lean-release-tag/pull/2
Last updated: Feb 28 2026 at 14:05 UTC