From b8f439232f74c5f5cec2472f3a9be0ca39b93c9c Mon Sep 17 00:00:00 2001 From: "Craig J. Bass" <1889973+craigjbass@users.noreply.github.com> Date: Mon, 14 Nov 2022 11:44:36 +0000 Subject: [PATCH] Add statically compiled root certificates. --- cmd/action/main.go | 1 + go.mod | 1 + go.sum | 2 ++ 3 files changed, 4 insertions(+) diff --git a/cmd/action/main.go b/cmd/action/main.go index 7b38e14..62e3478 100644 --- a/cmd/action/main.go +++ b/cmd/action/main.go @@ -3,6 +3,7 @@ package main import ( "context" "encoding/json" + _ "github.com/breml/rootcerts" "github.com/google/go-github/v48/github" "github.com/madetech/sparkling-dependencies/internal/dealWithPullRequest" "golang.org/x/oauth2" diff --git a/go.mod b/go.mod index 9dd5ea0..8c6b897 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/madetech/sparkling-dependencies go 1.19 require ( + github.com/breml/rootcerts v0.2.8 github.com/google/go-github/v48 v48.0.0 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be ) diff --git a/go.sum b/go.sum index 8cddc1f..5cc7ebe 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +github.com/breml/rootcerts v0.2.8 h1:hNPyNa+MghU9ZKqWy+MYxvouNqE70jvOBIa5v70z/P8= +github.com/breml/rootcerts v0.2.8/go.mod h1:24FDtzYMpqIeYC7QzaE8VPRQaFZU5TIUDlyk8qwjD88= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=