respect my personal branch

Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
This commit is contained in:
Ramon Petgrave
2024-08-12 17:17:45 +00:00
parent 3351ecc7d9
commit 1384f51fab
+2 -2
View File
@@ -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
}