Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

context: remove provenanceBuilderID func #554

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

crazy-max
Copy link
Member

This function is not used anymore and has been replaced by

public static workflowRunURL(setAttempts?: boolean): string {
return `${GitHub.serverURL}/${GitHub.repository}/actions/runs/${GitHub.runId}${setAttempts ? `/attempts/${GitHub.runAttempt}` : ''}`;
}

Used when solving provenance attributes:

return core.getBooleanInput(name) ? `builder-id=${GitHub.workflowRunURL(true)}` : 'false';

@crazy-max crazy-max marked this pull request as ready for review January 15, 2025 11:24
@crazy-max crazy-max merged commit f795e92 into docker:main Jan 15, 2025
61 checks passed
@crazy-max crazy-max deleted the context-remove-provenanceBuilderID branch January 15, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant