We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9006b74 commit e1e907cCopy full SHA for e1e907c
1 file changed
pkg/attestation/crafter/runners/githubaction.go
@@ -39,7 +39,7 @@ func NewGithubAction(ctx context.Context, logger *zerolog.Logger) *GitHubAction
39
// be done we fallback to reading the env vars directly.
40
actorPersonal := fmt.Sprintf("https://github.com/%s", os.Getenv("GITHUB_ACTOR"))
41
actorOrganization := fmt.Sprintf("https://github.com/%s", os.Getenv("GITHUB_REPOSITORY_OWNER"))
42
- client, err := oidc.NewGitHubClient(logger, oidc.WithActor(actorPersonal), oidc.WithActor(actorOrganization), oidc.WithAudience([]string{"chainloop"}))
+ client, err := oidc.NewGitHubClient(logger, oidc.WithActor(actorPersonal), oidc.WithActor(actorOrganization), oidc.WithAudience([]string{oidc.ExpectedAudience}))
43
if err != nil {
44
logger.Debug().Err(err).Msg("failed creating GitHub OIDC client")
45
return &GitHubAction{
0 commit comments