mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-08-18 02:56:31 +00:00
respect my personal branch
Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
This commit is contained in:
@@ -175,8 +175,8 @@ func verifyTrustedBuilderRef(id *WorkflowIdentity, ref string) error {
|
||||
if (id.SourceRepository == trustedBuilderRepository ||
|
||||
id.SourceRepository == e2eTestRepository) &&
|
||||
options.TestingEnabled() {
|
||||
// Allow verification on the main branch to support e2e tests.
|
||||
if ref == "refs/heads/main" {
|
||||
// // Allow verification on the main branch to support e2e tests.
|
||||
if ref == "refs/heads/main" || ref == "refs/heads/ramonpetgrave64-internal-builder-sigstore-bundle" {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user