Skip to content

ci: avoid force push in codex workflow to work with v0.95.0 git safety - #206

Merged
jackye1995 merged 1 commit into
mainfrom
fix-codex-bump
Feb 5, 2026
Merged

jackye1995 merged 1 commit into
mainfrom
fix-codex-bump

Conversation

@jackye1995

Copy link
Copy Markdown
Contributor

Summary

  • Codex CLI v0.95.0 (PR #10258) hardened git command safety so force push (git push -f, --force, --force-with-lease, +refspec) now requires approval, which blocks it in non-interactive exec mode.
  • Replace force push with gh api branch deletion followed by regular git push in the codex-update-lance-dependency workflow.

Test plan

  • Re-run the Codex Update Lance Dependency workflow with a test tag to verify the push and PR creation succeed

🤖 Generated with Claude Code

Codex CLI v0.95.0 hardened git command safety so force push (`git push -f`)
now requires approval, which blocks it in non-interactive exec mode. Replace
force push with `gh api` branch deletion followed by regular `git push`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the bug Something isn't working label Feb 5, 2026
@jackye1995 jackye1995 changed the title fix: avoid force push in codex workflow to work with v0.95.0 git safety ci: avoid force push in codex workflow to work with v0.95.0 git safety Feb 5, 2026
@github-actions github-actions Bot added the ci Features related to CI improvements label Feb 5, 2026
@jackye1995
jackye1995 merged commit c44f757 into main Feb 5, 2026
11 checks passed
ivscheianu pushed a commit to ivscheianu/lance-spark that referenced this pull request Jul 20, 2026
lance-format#206)

## Summary
- Codex CLI v0.95.0 ([PR
#10258](openai/codex#10258)) hardened git
command safety so force push (`git push -f`, `--force`,
`--force-with-lease`, `+refspec`) now requires approval, which blocks it
in non-interactive `exec` mode.
- Replace force push with `gh api` branch deletion followed by regular
`git push` in the `codex-update-lance-dependency` workflow.

## Test plan
- [ ] Re-run the `Codex Update Lance Dependency` workflow with a test
tag to verify the push and PR creation succeed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci Features related to CI improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant