Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion attestor/policy/attestation_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"strings"

"github.com/gobwas/glob"
"gopkg.in/yaml.v2"
"go.yaml.in/yaml/v2"

"github.com/ossf/scorecard/v5/checker"
"github.com/ossf/scorecard/v5/checks"
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"io"
"strings"

"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"

sce "github.com/ossf/scorecard/v5/errors"
"github.com/ossf/scorecard/v5/internal/checknames"
Expand Down
2 changes: 1 addition & 1 deletion cron/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strconv"
"strings"

"gopkg.in/yaml.v2"
"go.yaml.in/yaml/v2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion docs/checks/internal/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
_ "embed"
"fmt"

"gopkg.in/yaml.v2"
"go.yaml.in/yaml/v2"
)

//go:embed checks.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/probes/internal/generate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"path/filepath"
"strings"

"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"

pyaml "github.com/ossf/scorecard/v5/internal/probes/yaml"
)
Expand Down
2 changes: 1 addition & 1 deletion e2e/attestor_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"gopkg.in/yaml.v2"
"go.yaml.in/yaml/v2"

"github.com/ossf/scorecard/v5/attestor/command"
"github.com/ossf/scorecard/v5/attestor/policy"
Expand Down
2 changes: 1 addition & 1 deletion finding/finding.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"reflect"
"strings"

"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

// FileType is the type of a file.
Expand Down
2 changes: 1 addition & 1 deletion finding/finding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

func errCmp(e1, e2 error) bool {
Expand Down
2 changes: 1 addition & 1 deletion finding/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"strings"

"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"

"github.com/ossf/scorecard/v5/clients"
pyaml "github.com/ossf/scorecard/v5/internal/probes/yaml"
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ require (
github.com/spf13/cobra v1.10.2
github.com/xeipuuv/gojsonschema v1.2.0
go.opencensus.io v0.24.0
go.yaml.in/yaml/v2 v2.4.2
go.yaml.in/yaml/v3 v3.0.4
gocloud.dev v0.44.0
golang.org/x/text v0.32.0
golang.org/x/tools v0.39.0 // indirect
google.golang.org/genproto v0.0.0-20250922171735-9219d122eba9 // indirect
google.golang.org/protobuf v1.36.10
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
mvdan.cc/sh/v3 v3.12.0
)

Expand Down Expand Up @@ -212,8 +212,6 @@ require (
go.opentelemetry.io/otel/trace v1.38.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
go.yaml.in/yaml/v4 v4.0.0-rc.3 // indirect
golang.org/x/mod v0.30.0 // indirect
golang.org/x/telemetry v0.0.0-20251111182119-bc8e575c7b54 // indirect
Expand All @@ -224,6 +222,8 @@ require (
google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.29.3 // indirect
k8s.io/apimachinery v0.29.3 // indirect
k8s.io/client-go v0.29.3 // indirect
Expand Down
2 changes: 1 addition & 1 deletion policy/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"strings"

"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"

"github.com/ossf/scorecard/v5/checker"
"github.com/ossf/scorecard/v5/checks"
Expand Down
Loading