Skip to content

fix(ci): authenticate git push in create_daily_staging_branch workflow - #28440

Draft
cursor[bot] wants to merge 1 commit into
litellm_internal_stagingfrom
cursor/ci-autofix-automation-d455
Draft

fix(ci): authenticate git push in create_daily_staging_branch workflow#28440
cursor[bot] wants to merge 1 commit into
litellm_internal_stagingfrom
cursor/ci-autofix-automation-d455

Conversation

@cursor

@cursor cursor Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

Relevant issues

CI failure on the scheduled Create Daily Staging Branch workflow.

Changes

Commit dfb543369b ("fix: address zizmor comments") added persist-credentials: false to the actions/checkout step but kept the existing git push origin $BRANCH_NAME commands. With credentials no longer persisted into the local git config, the push fails with:

fatal: could not read Username for 'https://github.com': No such device or address
##[error]Process completed with exit code 128.

This affects both jobs in the workflow (create-staging-branch and create-internal-dev-branch) — see the failing run 26199401856.

Fix: push via an authenticated URL that uses $GITHUB_TOKEN (already exported in the job env), keeping the zizmor-recommended persist-credentials: false setting intact.

Type

🐛 Bug Fix
🚄 Infrastructure

Open in Web View Automation 

After dfb5433 added persist-credentials: false to actions/checkout
(addressing zizmor comments), the subsequent 'git push origin' commands
failed with 'fatal: could not read Username for https://github.com'
because no credential helper was configured.

Push via an explicit authenticated URL using GITHUB_TOKEN so both the
create-staging-branch and create-internal-dev-branch jobs work again.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov

codecov Bot commented May 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions Bot added the stale label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants