From a0f170f964cef664adbb34dd632d0f960cb75345 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Jul 2021 07:06:26 +0000 Subject: [PATCH 1/3] Bump github.com/palantir/go-githubapp from 0.7.0 to 0.8.0 Bumps [github.com/palantir/go-githubapp](https://github.com/palantir/go-githubapp) from 0.7.0 to 0.8.0. - [Release notes](https://github.com/palantir/go-githubapp/releases) - [Commits](https://github.com/palantir/go-githubapp/compare/v0.7.0...v0.8.0) --- updated-dependencies: - dependency-name: github.com/palantir/go-githubapp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 8dd5ccb0..1b8028e9 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 github.com/onsi/ginkgo v1.16.4 github.com/onsi/gomega v1.14.0 - github.com/palantir/go-githubapp v0.7.0 + github.com/palantir/go-githubapp v0.8.0 github.com/redhat-cop/operator-utils v1.1.4 github.com/stretchr/testify v1.7.0 github.com/thoas/go-funk v0.9.0 diff --git a/go.sum b/go.sum index 52d5905a..1e2b412e 100644 --- a/go.sum +++ b/go.sum @@ -235,9 +235,10 @@ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-github/v29 v29.0.2/go.mod h1:CHKiKKPHJ0REzfwc14QMklvtHwCveD0PxlMjLlzAM5E= github.com/google/go-github/v29 v29.0.3 h1:IktKCTwU//aFHnpA+2SLIi7Oo9uhAzgsdZNbcAqhgdc= github.com/google/go-github/v29 v29.0.3/go.mod h1:CHKiKKPHJ0REzfwc14QMklvtHwCveD0PxlMjLlzAM5E= -github.com/google/go-github/v35 v35.1.0/go.mod h1:s0515YVTI+IMrDoy9Y4pHt9ShGpzHvHO8rZ7L7acgvs= github.com/google/go-github/v35 v35.3.0 h1:fU+WBzuukn0VssbayTT+Zo3/ESKX9JYWjbZTLOTEyho= github.com/google/go-github/v35 v35.3.0/go.mod h1:yWB7uCcVWaUbUP74Aq3whuMySRMatyRmq5U9FTNlbio= +github.com/google/go-github/v37 v37.0.0 h1:rCspN8/6kB1BAJWZfuafvHhyfIo5fkAulaP/3bOQ/tM= +github.com/google/go-github/v37 v37.0.0/go.mod h1:LM7in3NmXDrX58GbEHy7FtNLbI2JijX93RnMKvWG3m4= github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -408,9 +409,9 @@ github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je4 github.com/onsi/gomega v1.14.0 h1:ep6kpPVwmr/nTbklSx2nrLNSIO62DoYAhnPNIMhK8gI= github.com/onsi/gomega v1.14.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/palantir/go-baseapp v0.2.3/go.mod h1:TSsvmXBDAAu2wZJgWi1/nG+YM5xIOEsXFmLsNoGP5O4= -github.com/palantir/go-githubapp v0.7.0 h1:kuMTREzEj92aYh7BegFCCzKN4vxt6z0RqiOgAcIjxmE= -github.com/palantir/go-githubapp v0.7.0/go.mod h1:QYwgje3cWJyi5150rojiG+xwb+d1vR7Rr+JNd2Pz2aE= +github.com/palantir/go-baseapp v0.2.4/go.mod h1:TSsvmXBDAAu2wZJgWi1/nG+YM5xIOEsXFmLsNoGP5O4= +github.com/palantir/go-githubapp v0.8.0 h1:CsFFCckWlS6QyjwbclqFU2lvL05MXFPc8mye/qxbre4= +github.com/palantir/go-githubapp v0.8.0/go.mod h1:XjzQ7r4lLXwqj1MEUjmUD9xng9VYqGj3XfDYlGpqigw= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= From 98c0614674292aec85627f7173223a0d139a4d5d Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Fri, 30 Jul 2021 12:14:30 +0200 Subject: [PATCH 2/3] Move to v37 of gh api --- controllers/githubactionrunner_controller.go | 2 +- controllers/githubactionrunner_controller_test.go | 2 +- controllers/githubapi/runnerapi.go | 2 +- controllers/podrunner_types.go | 2 +- controllers/podrunner_types_test.go | 2 +- go.mod | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/controllers/githubactionrunner_controller.go b/controllers/githubactionrunner_controller.go index 9c9befbe..ae959bc8 100644 --- a/controllers/githubactionrunner_controller.go +++ b/controllers/githubactionrunner_controller.go @@ -27,7 +27,7 @@ import ( garov1alpha1 "github.com/evryfs/github-actions-runner-operator/api/v1alpha1" "github.com/evryfs/github-actions-runner-operator/controllers/githubapi" "github.com/go-logr/logr" - "github.com/google/go-github/v35/github" + "github.com/google/go-github/v37/github" "github.com/redhat-cop/operator-utils/pkg/util" "github.com/thoas/go-funk" corev1 "k8s.io/api/core/v1" diff --git a/controllers/githubactionrunner_controller_test.go b/controllers/githubactionrunner_controller_test.go index a7c72ddf..71371950 100644 --- a/controllers/githubactionrunner_controller_test.go +++ b/controllers/githubactionrunner_controller_test.go @@ -3,7 +3,7 @@ package controllers import ( "context" "github.com/evryfs/github-actions-runner-operator/api/v1alpha1" - "github.com/google/go-github/v35/github" + "github.com/google/go-github/v37/github" "github.com/gophercloud/gophercloud/testhelper" "github.com/redhat-cop/operator-utils/pkg/util" "github.com/stretchr/testify/mock" diff --git a/controllers/githubapi/runnerapi.go b/controllers/githubapi/runnerapi.go index f538949e..b0006015 100644 --- a/controllers/githubapi/runnerapi.go +++ b/controllers/githubapi/runnerapi.go @@ -2,7 +2,7 @@ package githubapi import ( "context" - "github.com/google/go-github/v35/github" + "github.com/google/go-github/v37/github" "github.com/gregjones/httpcache" "github.com/palantir/go-githubapp/githubapp" ) diff --git a/controllers/podrunner_types.go b/controllers/podrunner_types.go index 3796b548..39a849f9 100644 --- a/controllers/podrunner_types.go +++ b/controllers/podrunner_types.go @@ -3,7 +3,7 @@ package controllers import ( "fmt" "github.com/evryfs/github-actions-runner-operator/api/v1alpha1" - "github.com/google/go-github/v35/github" + "github.com/google/go-github/v37/github" "github.com/redhat-cop/operator-utils/pkg/util" "github.com/thoas/go-funk" corev1 "k8s.io/api/core/v1" diff --git a/controllers/podrunner_types_test.go b/controllers/podrunner_types_test.go index 18aaf5c8..d75ef844 100644 --- a/controllers/podrunner_types_test.go +++ b/controllers/podrunner_types_test.go @@ -2,7 +2,7 @@ package controllers import ( "github.com/evryfs/github-actions-runner-operator/api/v1alpha1" - "github.com/google/go-github/v35/github" + "github.com/google/go-github/v37/github" "github.com/stretchr/testify/assert" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/go.mod b/go.mod index 1b8028e9..014de61c 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.16 require ( github.com/go-logr/logr v0.4.0 - github.com/google/go-github/v35 v35.3.0 + github.com/google/go-github/v37 v37.0.0 github.com/gophercloud/gophercloud v0.19.0 github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 github.com/onsi/ginkgo v1.16.4 From 309e6afecb9b600b8d758aa1c3fef9615bba643f Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Fri, 30 Jul 2021 12:21:47 +0200 Subject: [PATCH 3/3] Update go.sum --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index 1e2b412e..3b4cd48e 100644 --- a/go.sum +++ b/go.sum @@ -235,8 +235,6 @@ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-github/v29 v29.0.2/go.mod h1:CHKiKKPHJ0REzfwc14QMklvtHwCveD0PxlMjLlzAM5E= github.com/google/go-github/v29 v29.0.3 h1:IktKCTwU//aFHnpA+2SLIi7Oo9uhAzgsdZNbcAqhgdc= github.com/google/go-github/v29 v29.0.3/go.mod h1:CHKiKKPHJ0REzfwc14QMklvtHwCveD0PxlMjLlzAM5E= -github.com/google/go-github/v35 v35.3.0 h1:fU+WBzuukn0VssbayTT+Zo3/ESKX9JYWjbZTLOTEyho= -github.com/google/go-github/v35 v35.3.0/go.mod h1:yWB7uCcVWaUbUP74Aq3whuMySRMatyRmq5U9FTNlbio= github.com/google/go-github/v37 v37.0.0 h1:rCspN8/6kB1BAJWZfuafvHhyfIo5fkAulaP/3bOQ/tM= github.com/google/go-github/v37 v37.0.0/go.mod h1:LM7in3NmXDrX58GbEHy7FtNLbI2JijX93RnMKvWG3m4= github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=