Repository navigation
ci: remove the unused create-release workflow - #42696
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
bugbot run |
|
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
9a675f6 to
e9cff2b
Compare
|
bugbot run |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit e9cff2b. Configure here.
TLDR
Problem this solves:
create-release.ymlis dead: project-releaser no longer dispatches itGITHUB_TOKENcannot tag or release stable commits anyway (403)How it solves it:
.github/workflows/create-release.ymlUser Flow
Before: a release engineer looking for how GitHub releases get created finds a
Create Releaseworkflow that nothing dispatches and that fails on stable branchesAfter: the workflow is gone and the release is created by project-releaser's
Publish GitHub release in BerriAI/litellmjobCreate Releaseworkflow is listedRelevant issues
Follow-up to https://github.com/BerriAI/project-releaser/pull/268, docs in https://github.com/BerriAI/project-releaser/pull/269
Affected release
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/test_litellm/test_assert_workflow_dir_hygiene.pycovers the remaining workflows)Screenshots / Proof of Fix
Before (fa5b0a4)
gh workflow run create-release.yml --repo BerriAI/litellm --ref main -f tag=v1.100.2 -f commit_hash=9c1216a4278a4b8224ac1c8bfa922a110cdcd678-> run https://github.com/BerriAI/litellm/actions/runs/35825022473 fails atrepos.createReleasewithResource not accessible by integrationAfter (e9cff2b)
gh api repos/BerriAI/litellm/actions/workflows --jq '.workflows[].path' | grep create-release.yml-> no output once mergedPublish GitHub release in BerriAI/litellmsucceeded and https://github.com/BerriAI/litellm/releases/tag/v1.99.3 existsType
🚄 Infrastructure
Caveats (if any)
Low
Create Releaseby hand loses that button; use project-releaser'srelease.ymlinsteadFinal Attestation
Link to Devin session: https://app.devin.ai/sessions/6baa7be00d0747c8986a4681835b5c73
Open in Devin Desktop: https://app.devin.ai/desktop/session/6baa7be00d0747c8986a4681835b5c73?variant=devin
Requested by: @mateo-berri
Note
Low Risk
CI-only deletion of a broken, unused workflow; release publishing moves to project-releaser with no application code changes.
Overview
Removes the manual
Create ReleaseGitHub Actions workflow (.github/workflows/create-release.yml), which is no longer dispatched by project-releaser and could not create tags/releases on stable lines with the defaultGITHUB_TOKEN(403 errors).Release tagging, draft/publish, cosign notes, and “latest” handling are expected to run only through project-releaser’s publish job; anyone who used the old workflow_dispatch UI must use that path instead.
Reviewed by Cursor Bugbot for commit e9cff2b. Bugbot is set up for automated code reviews on this repo. Configure here.