Skip to content

Run workflow policy only for pushes outside the canonical repository - #210

Merged
Dsssyc merged 1 commit into
world-in-progress:mainfrom
Dsssyc:socu/fork-push-policy-only
Oct 30, 2026
Merged

Dsssyc merged 1 commit into
world-in-progress:mainfrom
Dsssyc:socu/fork-push-policy-only

Conversation

@Dsssyc

@Dsssyc Dsssyc commented Oct 30, 2026

Copy link
Copy Markdown
Member

A fork's main mirrors commits that this repository already validates, but same-tree source evidence is only looked up here, so every sync of a fork's main ran the full source matrix (36 and 22 minutes on 2026-10-30; the second sync only changed .gitignore). Pushes outside world-in-progress/c-two now run workflow policy only. Explicit dispatch with force_full still qualifies a fork branch, and canonical pushes keep the same-tree evidence rule. A repository test covers the fork push, which must not look up evidence; tests/repo passes locally (612 passed, 11 skipped).

A fork's main mirrors commits that world-in-progress/c-two already validates, but same-tree evidence is only looked up in the canonical repository, so every fork main sync ran the full source matrix (36 and 22 minutes on 2026-10-30, the second for a .gitignore change). Pushes outside the canonical repository now run workflow policy only; explicit dispatch still qualifies a fork branch.
@Dsssyc
Dsssyc merged commit 606b8f1 into world-in-progress:main Oct 30, 2026
5 checks passed
@Dsssyc
Dsssyc deleted the socu/fork-push-policy-only branch October 30, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant