Skip to content

Commit

Permalink
chore: fix change detection when there is a single registry source as…
Browse files Browse the repository at this point in the history
… an input (#1218)

Also fixes speakeasy's internal regression tests, once the next
generation happens, for any affected repos. Will require 1 generation to
fix bad data in workflow.lock first.
  • Loading branch information
ThomasRooney authored Jan 23, 2025
1 parent ee25967 commit 5a4922d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/run/sourceTracking.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ func (w *Workflow) snapshotSource(ctx context.Context, parentStep *workflowTrack
if err != nil {
return err
}

namespaceName = document.NamespaceName
w.lockfile.Sources[sourceID] = workflow.SourceLock{
SourceNamespace: namespaceName,
SourceRevisionDigest: document.ManifestDigest,
Expand Down

0 comments on commit 5a4922d

Please sign in to comment.