Skip to content

Commit

Permalink
Rename the file to foo.sts.yaml
Browse files Browse the repository at this point in the history
Fixes: https://github.com/mattmoor/octo-sts/issues/12

Signed-off-by: Matt Moore <mattmoor@chainguard.dev>
  • Loading branch information
mattmoor committed Jan 21, 2024
1 parent c53c76f commit 0f0e2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/octosts/octosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (s *sts) lookupTrustPolicy(ctx context.Context, install int64, owner, repo,
})
file, _, _, err := client.Repositories.GetContents(ctx,
owner, repo,
fmt.Sprintf(".github/chainguard/%s.yaml", identity),
fmt.Sprintf(".github/chainguard/%s.sts.yaml", identity),
&github.RepositoryContentGetOptions{ /* defaults to the default branch */ },
)
if err != nil {
Expand Down

0 comments on commit 0f0e2b8

Please sign in to comment.