Skip to content

ci: remove the unused create-release workflow - #42696

Merged
mateo-berri merged 1 commit into
mainfrom
litellm_remove_create_release_workflow
Sep 23, 2026
Merged

mateo-berri merged 1 commit into
mainfrom
litellm_remove_create_release_workflow

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • create-release.yml is dead: project-releaser no longer dispatches it
  • Its GITHUB_TOKEN cannot tag or release stable commits anyway (403)

How it solves it:

  • Delete .github/workflows/create-release.yml

User Flow

Before: a release engineer looking for how GitHub releases get created finds a Create Release workflow that nothing dispatches and that fails on stable branches

  1. They open https://github.com/BerriAI/litellm/actions/workflows/create-release.yml and see the last runs ending in "Resource not accessible by integration" for v1.100.2, v1.101.1, v1.102.1
  2. They run it by hand for a stable tag and get the same 403

After: the workflow is gone and the release is created by project-releaser's Publish GitHub release in BerriAI/litellm job

  1. They open https://github.com/BerriAI/litellm/actions and no Create Release workflow is listed
  2. The tag and release for a stable line appear from the project-releaser run, as https://github.com/BerriAI/litellm/releases/tag/v1.99.3 did on https://github.com/BerriAI/project-releaser/actions/runs/35827673546

Relevant 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

  • I have added meaningful tests (n/a, file deletion only; tests/test_litellm/test_assert_workflow_dir_hygiene.py covers the remaining workflows)
  • The handful of test files covering my change pass locally
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have received a Greptile Confidence Score of at least 4/5 before requesting a maintainer review

Screenshots / Proof of Fix

Before (fa5b0a4)

  1. 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 at repos.createRelease with Resource not accessible by integration

After (e9cff2b)

  1. gh api repos/BerriAI/litellm/actions/workflows --jq '.workflows[].path' | grep create-release.yml -> no output once merged
  2. Release path proven on the project-releaser side: run https://github.com/BerriAI/project-releaser/actions/runs/35827673546 job Publish GitHub release in BerriAI/litellm succeeded and https://github.com/BerriAI/litellm/releases/tag/v1.99.3 exists

Type

🚄 Infrastructure

Caveats (if any)

Low

  • Anyone who dispatched Create Release by hand loses that button; use project-releaser's release.yml instead

Final Attestation

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR

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 Release GitHub 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 default GITHUB_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.

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@mateo-berri

Copy link
Copy Markdown
Contributor

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

@greptile-apps

greptile-apps Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge because the deleted workflow has no remaining in-repository callers or required hygiene checks.

Summary

Removes the unused Create Release GitHub Actions workflow, leaving release publication to the external project-releaser process.

  • Deletes the manual tag and GitHub release creation path.
  • Removes its chaining into the separate release-branch workflow.
  • No remaining in-repository references depend on the deleted workflow.

Reviews (3) · Last reviewed commit: "ci: remove the unused create-release wor..."

@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the litellm_remove_create_release_workflow branch from 9a675f6 to e9cff2b Compare September 23, 2026 07:38
@mateo-berri
mateo-berri changed the base branch from litellm_internal_staging to main September 23, 2026 07:38
@mateo-berri
mateo-berri requested a review from a team September 23, 2026 07:38
@mateo-berri

Copy link
Copy Markdown
Contributor

bugbot run

@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

@codecov

codecov Bot commented Sep 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ 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.

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mateo-berri
mateo-berri merged commit 59db396 into main Sep 23, 2026
146 of 194 checks passed
@mateo-berri
mateo-berri deleted the litellm_remove_create_release_workflow branch September 23, 2026 08:09
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.

1 participant