From 25b17a01135a9e5fdd875cb40028cf6c45bf676e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 23:49:46 +0000 Subject: [PATCH 1/2] fix(deps): update module go.yaml.in/yaml/v3 to v4 --- go.mod | 1 + go.sum | 1 + 2 files changed, 2 insertions(+) diff --git a/go.mod b/go.mod index 469a5ea..cc162c6 100644 --- a/go.mod +++ b/go.mod @@ -5,4 +5,5 @@ go 1.23.0 require ( github.com/moby/patternmatcher v0.6.1 go.yaml.in/yaml/v3 v3.0.6 + go.yaml.in/yaml/v4 v4.0.0 ) diff --git a/go.sum b/go.sum index a0221ea..afec4bf 100644 --- a/go.sum +++ b/go.sum @@ -4,3 +4,4 @@ go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= go.yaml.in/yaml/v3 v3.0.6 h1:zcDfvjXEqTQmpjniUBLc91xYJMB2c4QOFxEF/LCEckM= go.yaml.in/yaml/v3 v3.0.6/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= +go.yaml.in/yaml/v4 v4.0.0/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= From b949cffe3ed38cd766d0c6a1bdfe928edc1d1400 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Nov 2026 19:04:44 +0000 Subject: [PATCH 2/2] fix(deps): use yaml v4 throughout Co-authored-by: Skaronator <2886913+Skaronator@users.noreply.github.com> --- cmd/container-release/package_version_test.go | 2 +- cmd/container-release/workflow_test.go | 2 +- go.mod | 1 - go.sum | 5 +---- internal/containerartifact/artifact_test.go | 2 +- internal/releaseconfig/config.go | 2 +- 6 files changed, 5 insertions(+), 9 deletions(-) diff --git a/cmd/container-release/package_version_test.go b/cmd/container-release/package_version_test.go index 944374e..73a41ad 100644 --- a/cmd/container-release/package_version_test.go +++ b/cmd/container-release/package_version_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "go.yaml.in/yaml/v3" + "go.yaml.in/yaml/v4" ) func TestWorkflowPackageVersionAndRevisionLabels(t *testing.T) { diff --git a/cmd/container-release/workflow_test.go b/cmd/container-release/workflow_test.go index 6e21dc8..b293259 100644 --- a/cmd/container-release/workflow_test.go +++ b/cmd/container-release/workflow_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "go.yaml.in/yaml/v3" + "go.yaml.in/yaml/v4" ) func TestWorkflowRequiresRootMetadata(t *testing.T) { diff --git a/go.mod b/go.mod index cc162c6..1c4dfd5 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,5 @@ go 1.23.0 require ( github.com/moby/patternmatcher v0.6.1 - go.yaml.in/yaml/v3 v3.0.6 go.yaml.in/yaml/v4 v4.0.0 ) diff --git a/go.sum b/go.sum index afec4bf..f861ac1 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,4 @@ github.com/moby/patternmatcher v0.6.1 h1:qlhtafmr6kgMIJjKJMDmMWq7WLkKIo23hsrpR3x084U= github.com/moby/patternmatcher v0.6.1/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc= -go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= -go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -go.yaml.in/yaml/v3 v3.0.6 h1:zcDfvjXEqTQmpjniUBLc91xYJMB2c4QOFxEF/LCEckM= -go.yaml.in/yaml/v3 v3.0.6/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= +go.yaml.in/yaml/v4 v4.0.0 h1:/LG1pNO84Z4l603j/xMn69CcS5OYhMQ/f7l2LoQUGuw= go.yaml.in/yaml/v4 v4.0.0/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= diff --git a/internal/containerartifact/artifact_test.go b/internal/containerartifact/artifact_test.go index b0fdccc..991c2e7 100644 --- a/internal/containerartifact/artifact_test.go +++ b/internal/containerartifact/artifact_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "go.yaml.in/yaml/v3" + "go.yaml.in/yaml/v4" ) const index = `{"manifests":[{"platform":{"os":"linux","architecture":"amd64"}},{"platform":{"os":"linux","architecture":"arm64"}},{"platform":{"os":"unknown","architecture":"unknown"}}]}` diff --git a/internal/releaseconfig/config.go b/internal/releaseconfig/config.go index f6caae7..b4dc223 100644 --- a/internal/releaseconfig/config.go +++ b/internal/releaseconfig/config.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "go.yaml.in/yaml/v3" + "go.yaml.in/yaml/v4" ) func sourcePath(path string) bool {