mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-05 03:51:54 +01:00
fix: bind release image inputs to frozen runtime receipts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
84592191eb
commit
5a117d6d35
2 files changed
+8
-4
No files matched your search
@@ -13,8 +13,12 @@ test('release image consumes one successful exact-source producer set', () => {
|
||||
assert.deepEqual(selectReleaseArtifacts(artifacts, '123', 2), artifacts);
|
||||
});
|
||||
|
||||
test('frozen runtime source can differ from workflow dispatch source', () => {
|
||||
assert.doesNotThrow(() => validateReleaseRun({ ...run, head_sha: 'c'.repeat(40) }, source));
|
||||
});
|
||||
|
||||
for (const [name, patch] of [
|
||||
['different source', { head_sha: 'c'.repeat(40) }],
|
||||
['invalid workflow source', { head_sha: 'not-a-sha' }],
|
||||
['incomplete producer', { conclusion: null }],
|
||||
['failed producer', { conclusion: 'failure' }],
|
||||
['unrelated workflow', { path: '.github/workflows/ci.yml' }],
|
||||
|
||||
Reference in new issue
Block a user