Skip to content

Add support to migrate to new actions repo - #446

Merged
puerco merged 3 commits into
slsa-framework:mainfrom
puerco:update-repo
Sep 2, 2026
Merged

Add support to migrate to new actions repo#446
puerco merged 3 commits into
slsa-framework:mainfrom
puerco:update-repo

Conversation

@puerco

@puerco puerco commented Sep 2, 2026

Copy link
Copy Markdown
Member

This PR adds support to sourcetool setup and sourcetool status to detect and migrate workflows to the new actions repo. In particular, repo now can be re-run to update workflows to use the action from the new repo.

We also now add better handling of the expected signer identities via the signer matcher as we now support three ids by default (the POC, source-actions and actions).

This commit adds a workflow scanner to the GitHub backend that reads
every workflow file in the branch, whatever its name, and finds the
uses: lines that call the SLSA actions. Expose it through the
VcsBackend interface and the Tool as FindProvenanceWorkflows, returning
the workflow path and the legacy repositories it still references.

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>
Match the new workflow identity by prefix using the signer library's
identity matcher, keeping the source-actions and slsa-source-poc
identities as exact alternates while repositories still carry
attestations signed by them.

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>
@puerco
puerco merged commit b21e842 into slsa-framework:main Sep 2, 2026
6 checks passed
@puerco
puerco deleted the update-repo branch September 2, 2026 03:14
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