Skip to content

[v3-4-test] Block merging on fork CI once a PR is moved to project CI (#76672) - #76981

Merged
potiuk merged 1 commit into
v3-4-testfrom
backport-e17ceca-v3-4-test
Nov 12, 2026
Merged

potiuk merged 1 commit into
v3-4-testfrom
backport-e17ceca-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The rulesets require the CI passed context from any source, and the Fork CI
monitor posts it from the fork run. Adding use project ci did not withdraw
that success, so a pull request could merge on the fork result before project
CI ran, as happened on #76536.

The revoke is done by the monitor and not by an event-driven workflow, because
pull_request_target is about to be disabled for this repository. The fork
result therefore stays until the next monitor run that completes; the design
document records that window as a limit.
(cherry picked from commit e17ceca)

Co-authored-by: Shahar Epstein [email protected]

…#76672)

The rulesets require the `CI passed` context from any source, and the Fork CI
monitor posts it from the fork run. Adding `use project ci` did not withdraw
that success, so a pull request could merge on the fork result before project
CI ran, as happened on #76536.

The revoke is done by the monitor and not by an event-driven workflow, because
`pull_request_target` is about to be disabled for this repository. The fork
result therefore stays until the next monitor run that completes; the design
document records that window as a limit.
(cherry picked from commit e17ceca)

Co-authored-by: Shahar Epstein <[email protected]>
@potiuk
potiuk marked this pull request as ready for review November 12, 2026 13:33
@potiuk
potiuk enabled auto-merge (squash) November 12, 2026 13:34
@potiuk
potiuk merged commit b3403ae into v3-4-test Nov 12, 2026
134 of 150 checks passed
@potiuk
potiuk deleted the backport-e17ceca-v3-4-test branch November 12, 2026 14:08
vatsrahul1001 pushed a commit that referenced this pull request Nov 27, 2026
…#76672) (#76981)

The rulesets require the `CI passed` context from any source, and the Fork CI
monitor posts it from the fork run. Adding `use project ci` did not withdraw
that success, so a pull request could merge on the fork result before project
CI ran, as happened on #76536.

The revoke is done by the monitor and not by an event-driven workflow, because
`pull_request_target` is about to be disabled for this repository. The fork
result therefore stays until the next monitor run that completes; the design
document records that window as a limit.
(cherry picked from commit e17ceca)

Co-authored-by: Shahar Epstein <[email protected]>
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