Skip to content

Commit

Permalink
wip: remove default attestors
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailswift committed Oct 31, 2023
1 parent ab4f36c commit 710ff19
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions run.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import (
"fmt"

"github.com/testifysec/go-witness/attestation"
"github.com/testifysec/go-witness/attestation/environment"
"github.com/testifysec/go-witness/attestation/git"
"github.com/testifysec/go-witness/cryptoutil"
"github.com/testifysec/go-witness/dsse"
"github.com/testifysec/go-witness/intoto"
Expand Down Expand Up @@ -86,9 +84,8 @@ type RunResult struct {

func Run(stepName string, opts ...RunOption) (RunResult, error) {
ro := runOptions{
stepName: stepName,
insecure: false,
attestors: []attestation.Attestor{environment.New(), git.New()},
stepName: stepName,
insecure: false,
}

for _, opt := range opts {
Expand Down

0 comments on commit 710ff19

Please sign in to comment.