Skip to content

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';

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@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