Skip to content

fix(ci): authenticate git push in create_daily_oss_agent_shin_branch workflow - #29824

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

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

Conversation

@cursor

@cursor cursor Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Relevant issues

CI failure on the scheduled Create Daily oss-agent-shin Branch workflow (run 27048098052). Sister PR #28440 already fixes the same class of bug for create_daily_staging_branch.yml and is still open; this PR fixes the equivalent bug in the newer create_daily_oss_agent_shin_branch.yml workflow that was added in #28829.

Changes

The create_daily_oss_agent_shin_branch.yml workflow added in #28829 uses persist-credentials: false on actions/checkout (matching the zizmor-recommended pattern from dfb543369b) but still runs git push origin $BRANCH_NAME. 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.

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. This mirrors the fix proposed in #28440 for the staging branch workflow.

Type

🐛 Bug Fix
🚄 Infrastructure

Screenshots / Proof of Fix

The change cannot be exercised without merging because the failing job is a scheduled workflow that needs secrets.GITHUB_TOKEN from a default branch run. Reviewers can verify by reading the diff against the existing fix in #28440, or by manually triggering the Create Daily oss-agent-shin Branch workflow from the Actions tab after merge and confirming the new branch is created.

Open in Web View Automation 

The workflow added in #28829 (commit 48dd71b) uses persist-credentials: false
on actions/checkout but still runs 'git push origin', so the push fails with
'fatal: could not read Username for https://github.com'. Push via an
authenticated URL using GITHUB_TOKEN, mirroring the fix proposed in #28440 for
create_daily_staging_branch.yml.

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 Jun 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants