Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/run/run_environment/github_actions/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ impl RunEnvironmentProvider for GitHubActionsProvider {
info!(
"CodSpeed now supports OIDC tokens for authentication.\n\
Benefit from enhanced security by adding the `id-token: write` permission to your workflow and removing the static token from your configuration.\n\
Learn more at https://codspeed.io/docs/integrations/ci/github-actions#openid-connect-oidc-authentication"
Learn more at https://codspeed.io/docs/integrations/ci/github-actions/configuration#oidc-recommended"
);

return Ok(());
Expand All @@ -305,14 +305,14 @@ impl RunEnvironmentProvider for GitHubActionsProvider {
bail!(
"Unable to retrieve OIDC token for authentication. \n\
Make sure your workflow has the `id-token: write` permission set. \n\
See https://codspeed.io/docs/integrations/ci/github-actions#openid-connect-oidc-authentication"
See https://codspeed.io/docs/integrations/ci/github-actions/configuration#oidc-recommended"
)
}

info!(
"CodSpeed now supports OIDC tokens for authentication.\n\
Benefit from enhanced security and faster processing times by adding the `id-token: write` permission to your workflow.\n\
Learn more at https://codspeed.io/docs/integrations/ci/github-actions#openid-connect-oidc-authentication"
Learn more at https://codspeed.io/docs/integrations/ci/github-actions/configuration#oidc-recommended"
);

return Ok(());
Expand Down Expand Up @@ -343,7 +343,7 @@ impl RunEnvironmentProvider for GitHubActionsProvider {
bail!(
"Unable to retrieve OIDC token for authentication. \n\
Make sure your workflow has the `id-token: write` permission set. \n\
See https://codspeed.io/docs/integrations/ci/github-actions#openid-connect-oidc-authentication"
See https://codspeed.io/docs/integrations/ci/github-actions/configuration#oidc-recommended"
)
} else {
warn!("Failed to retrieve OIDC token for authentication.");
Expand Down
Loading