Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump github.com/cbrgm/githubevents from 1.13.2 to 1.15.1 #135

Merged
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
8 changes: 5 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
module github.com/hostinger/fireactions

go 1.22.1
go 1.22.2

toolchain go1.22.4

require (
github.com/cbrgm/githubevents v1.13.2
github.com/cbrgm/githubevents v1.15.1
github.com/containerd/log v0.1.0
github.com/gin-contrib/pprof v1.5.0
github.com/gin-contrib/requestid v1.0.2
github.com/gin-gonic/gin v1.10.0
github.com/google/go-github/v60 v60.0.0
github.com/google/go-github/v62 v62.0.0
github.com/opencontainers/image-spec v1.1.0
github.com/rs/zerolog v1.33.0
github.com/samber/lo v1.39.0
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ github.com/bytedance/sonic v1.11.6 h1:oUp34TzMlL+OY1OUWxHqsdkgC/Zfc85zGqw9siXjrc
github.com/bytedance/sonic v1.11.6/go.mod h1:LysEHSvpvDySVdC2f87zGWf6CIKJcAvqab1ZaiQtds4=
github.com/bytedance/sonic/loader v0.1.1 h1:c+e5Pt1k/cy5wMveRDyk2X4B9hF4g7an8N3zCYjJFNM=
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
github.com/cbrgm/githubevents v1.13.2 h1:oOGhN9WN624HdKuFaXGJl3zXbQItyfFFLopUHwCbpC0=
github.com/cbrgm/githubevents v1.13.2/go.mod h1:HVco3sO00wGiLhv1gdhzUoMVh7nr+kCDCmcoIQvLLqM=
github.com/cbrgm/githubevents v1.15.1 h1:TTgaxSelJWuLGxZ4Yg6tMLAZ8cN7pYyppKlgQPrzAWw=
github.com/cbrgm/githubevents v1.15.1/go.mod h1:EVAPm/rU5ym2nqD/d0W0JJVtKQlz2B89UVZhEpKejC4=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
Expand Down Expand Up @@ -481,8 +481,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
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/v60 v60.0.0 h1:oLG98PsLauFvvu4D/YPxq374jhSxFYdzQGNCyONLfn8=
github.com/google/go-github/v60 v60.0.0/go.mod h1:ByhX2dP9XT9o/ll2yXAu2VD8l5eNVg8hD4Cr0S/LmQk=
github.com/google/go-github/v62 v62.0.0 h1:/6mGCaRywZz9MuHyw9gD1CwsbmBX8GWsbFkwMmHdhl4=
github.com/google/go-github/v62 v62.0.0/go.mod h1:EMxeUqGJq2xRu9DYBMwel/mr7kZrzUOfQmmpYrZn2a4=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
Expand Down
2 changes: 1 addition & 1 deletion helper/github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"

"github.com/bradleyfalzon/ghinstallation"
"github.com/google/go-github/v60/github"
"github.com/google/go-github/v62/github"
)

// Client is a wrapper around GitHub client that supports GitHub App authentication for multiple installations.
Expand Down
2 changes: 1 addition & 1 deletion server/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/cbrgm/githubevents/githubevents"
"github.com/gin-gonic/gin"
"github.com/google/go-github/v60/github"
"github.com/google/go-github/v62/github"
"github.com/hostinger/fireactions"
"github.com/samber/lo"
)
Expand Down
4 changes: 2 additions & 2 deletions server/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/rs/zerolog"
"github.com/sirupsen/logrus"

githubv60 "github.com/google/go-github/v60/github"
githubv62 "github.com/google/go-github/v62/github"
)

const (
Expand Down Expand Up @@ -301,7 +301,7 @@ func (p *Pool) scaleUp(ctx context.Context) error {
}

client := p.github.Installation(installation.GetID())
jitConfig, _, err := client.Actions.GenerateOrgJITConfig(ctx, p.config.Runner.Organization, &githubv60.GenerateJITConfigRequest{
jitConfig, _, err := client.Actions.GenerateOrgJITConfig(ctx, p.config.Runner.Organization, &githubv62.GenerateJITConfigRequest{
Name: runnerName,
RunnerGroupID: p.config.Runner.GroupID,
Labels: p.config.Runner.Labels,
Expand Down