mirror of
https://github.com/openai/codex.git
synced 2026-11-11 21:10:39 +00:00
Run required CI against pull request merge commits (#38051)
## Why Checking only the pull request head can miss conflicts with changes already on `main`. ## What changed Remove explicit pull request head refs from required workflow checkouts so GitHub Actions checks out the synthetic merge commit by default. Keep the blocking gate on the same combined revision as the child workflows it evaluates, and document the merge-commit policy in the workflow README. GitOrigin-RevId: dc357caa5dc43f46b9b9a0edea6ee560b4fe8efb
This commit is contained in:
committed by
copyberry
parent
eea28321ad
commit
965b9f263a
@@ -4,6 +4,9 @@ The workflows in this directory are split so that pull requests get fast, review
|
||||
|
||||
## Pull Requests
|
||||
|
||||
- Required checks run against GitHub's synthetic merge commit, not the pull
|
||||
request head alone. This includes changes already on `main` and catches
|
||||
conflicts before they reach the branch.
|
||||
- `bazel.yml` is the main pre-merge verification path for Rust code.
|
||||
It runs Bazel `test` and Bazel `clippy` on the supported Bazel targets,
|
||||
including the generated Rust test binaries needed to lint inline `#[cfg(test)]`
|
||||
|
||||
Reference in New Issue
Block a user