Skip to content

ci: rerun PR checks when the base branch changes - #16602

Merged
shonfeder merged 1 commit into
ocaml:mainfrom
Alizter:ci-rerun-on-pr-base-change
Oct 14, 2026
Merged

shonfeder merged 1 commit into
ocaml:mainfrom
Alizter:ci-rerun-on-pr-base-change

Conversation

@Alizter

@Alizter Alizter commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Run PR workflows on edited, so changing the base branch starts a new run against the new merge commit.

#16593 passed CI against main before being retargeted to 3.25.0-rc. No new run started, so the Nix metadata incompatibility was missed.

Title/body edits also rerun checks. Existing events and branch/path filters are unchanged.

Checked workflow generation, YAML triggers, @check and @fmt.

Subscribe PR workflows to edited events so changing the base branch
runs checks against the new merge commit. Keep existing events and
branch/path filters.

ocaml#16593 passed CI against main before being retargeted to 3.25.0-rc.
No new CI run started, so the Nix metadata incompatibility was missed.

Title and body edits also trigger checks.

Signed-off-by: Ali Caglayan <[email protected]>
@shonfeder
shonfeder merged commit ee67f29 into ocaml:main Oct 14, 2026
39 of 40 checks passed
shonfeder added a commit that referenced this pull request Oct 14, 2026
Backport of #16602. Rerun PR checks when the base branch changes,
closing the gap that let #16593 pass CI against `main` before merging
into `3.25.0-rc`.

Title/body edits also rerun checks. Existing events and branch/path
filters are unchanged.

Workflow generation, YAML triggers, `@check` and `@fmt` pass using the
compatible Nix shell from #16599. That PR fixes the separate
release-branch Nix dependency issue.
@Alizter Alizter added this to the 3.26.0 milestone Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants