Add support to migrate to new actions repo - #446
Merged
Conversation
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>
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support to
sourcetool setupandsourcetool statusto detect and migrate workflows to the new actions repo. In particular,reponow 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).