Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions DoWhiz_service/run_task_module/src/run_task/codex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3641,6 +3641,12 @@ if [ -n "${{GITHUB_USERNAME:-}}" ]; then
export GIT_COMMITTER_EMAIL="${{GITHUB_USERNAME}}@users.noreply.github.com"
fi

# Export GitHub token for gh CLI (needs GH_TOKEN or GITHUB_TOKEN)
if [ -n "${{GITHUB_PERSONAL_ACCESS_TOKEN:-}}" ]; then
export GH_TOKEN="${{GITHUB_PERSONAL_ACCESS_TOKEN}}"
export GITHUB_TOKEN="${{GITHUB_PERSONAL_ACCESS_TOKEN}}"
fi

# Set GIT_ASKPASS to use the uploaded askpass script (same as ACI flow)
askpass_script="$(find .codex -name 'dowhiz-git-askpass-*' -type f 2>/dev/null | head -n1)"
if [ -n "$askpass_script" ] && [ -x "$askpass_script" ]; then
Expand Down
Loading