Skip to content

Conversation

@puerco
Copy link
Collaborator

@puerco puerco commented Aug 1, 2025

This PR implements a new ControlPrecheck phase on the VCS abstraction.

Before applying the controls, the CLI will do a "preflight" check to see if the controls can be enabled. VCS backends may provide a function to remediate any missing prerequisites.

These prechecks are now called by the CLI before attempting to enable controls on the VCS system.

Using this new mechanism the GitHub backend now checks if the user needs a fork of their own repository before attempting to open a pull request. If the fork is required, sourcetool now asks the user if they want to create it and then open the PR:

image

Fixes #264

puerco added 5 commits August 1, 2025 16:32
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
@puerco puerco merged commit 2311a98 into slsa-framework:main Aug 2, 2025
2 checks passed
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.

Support forks for provenance workflow PRs

1 participant