You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 63ffaa2
Browse filesBrowse the repository at this point in the historyBrowse files
FEATURE-ci-v3-integration: bind PR artifact origin to API branch head
The real PR artifact and run APIs report the branch head while GITHUB_SHA identifies the test merge checkout. Supply the trusted event head explicitly to download origin checks, retaining exact selected merge source, archive, run, attempt, repository and digest validation.
Reproduced the actual captured artifact failure twice before repair. Real ZIP replay now validates the branch-head origin and unchanged merge descriptor/archive; 15 release contracts and 10 workflow contracts pass, including negative source/origin/run/attempt/digest controls. Actionlint and Python compilation pass. Native/fuzz/docs/public443 evidence is reused unchanged; fresh actual CI remains root-owned.
require(str(metadata['workflow_run']['id']) ==expected['run_id'] andmetadata['workflow_run']['head_sha'] ==expected['source_commit'], 'artifact from another workflow source/run')
88
+
require(str(metadata['workflow_run']['id']) ==expected['run_id'] andmetadata['workflow_run']['head_sha'] ==expected['workflow_head'], 'artifact from another workflow source/run')
0 commit comments