Skip to content

Commit 35bae1a

Browse files
authored
Push usinf dynamic notes URL (#408)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>
1 parent 1ae39db commit 35bae1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/sourcetool/tool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ func (t *Tool) getAttestationStore(branch *models.Branch) (*collector.Agent, err
570570
// Init commit notes storer
571571
if t.Options.InitNotesStorer {
572572
notesrepo, err := note.NewDynamic(
573-
note.WithLocator(branch.Repository.GetHttpURL()),
573+
note.DynamicRepoURL(branch.Repository.GetHttpURL()),
574574
note.WithHttpAuth("github", token),
575575
note.WithPush(true),
576576
)

0 commit comments

Comments
 (0)