lollipopkit/Codex upstream sync
Sync an upstream branch into the current repository, using Codex only when merge conflicts need repair.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| openai-api-key | OpenAI API key used by openai/codex-action when conflicts need Codex. | yes | — |
| openai-base-url | Optional OpenAI-compatible base URL, such as https://proxy.example.com/v1. The action appends /responses unless already present. | no | "" |
| github-token | GitHub token used to push branches and create pull requests. | yes | — |
| upstream-repository | Upstream repository as owner/repo, HTTPS URL, SSH URL, or local path. | yes | — |
| upstream-ref | Upstream branch name to merge. | no | main |
| upstream-token | Optional token for fetching a private GitHub upstream repository. | no | "" |
| target-branch | Target branch to sync into. Defaults to the checked-out branch. | no | "" |
| mode | Delivery mode after a successful merge. Valid values are pr or push. | no | pr |
| test-command | Optional command to run after the merge is resolved and before delivery. | no | "" |
| commit-message | Commit message for the upstream sync merge commit. | no | chore: sync upstream |
| branch-prefix | Prefix for pull request sync branches. | no | codex/upstream-sync |
| git-user-name | Git author name used for the merge commit. | no | github-actions[bot] |
| git-user-email | Git author email used for the merge commit. | no | 41898282+github-actions[bot]@users.noreply.github.com |
| codex-model | Optional model passed to openai/codex-action. | no | "" |
| codex-effort | Optional reasoning effort passed to openai/codex-action. | no | "" |
| codex-args | Optional extra arguments passed to codex exec through openai/codex-action. | no | "" |
| sandbox | Codex sandbox mode for conflict repair. | no | workspace-write |
Outputs
| name | description |
|---|---|
| changed | Whether upstream sync produced a local merge change. |
| codex-used | Whether Codex was invoked to repair merge conflicts. |
| merge-status | Merge status, such as up-to-date, clean, conflict, pushed, or pr. |
| branch | Sync branch name used for delivery. |
| commit-sha | Merge commit SHA when a change was delivered. |
| pr-url | Pull request URL when mode is pr. |