Skip to content

Commit 361f687

Browse files
lpcoxCopilot
andauthored
Update internal/config/validation.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e276b07 commit 361f687

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/config/validation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ func validateAuthConfig(auth *AuthConfig, serverName, jsonPath string) error {
264264
if os.Getenv("ACTIONS_ID_TOKEN_REQUEST_URL") == "" {
265265
logValidateServerFailed(serverName, "ACTIONS_ID_TOKEN_REQUEST_URL is not set")
266266
return rules.MissingRequired(
267-
"ACTIONS_ID_TOKEN_REQUEST_URL", "environment", authPath,
267+
"ACTIONS_ID_TOKEN_REQUEST_URL", "github-oidc", authPath,
268268
"Server requires OIDC authentication but ACTIONS_ID_TOKEN_REQUEST_URL is not set. "+
269269
"OIDC auth requires running in GitHub Actions with `permissions: { id-token: write }`")
270270
}

0 commit comments

Comments
 (0)