Skip to content

Commit

Permalink
fix(deps): update module github.com/google/go-github/v55 to v57 (#3014)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/google/go-github/v55](https://togithub.com/google/go-github)
| require | major | `v55.0.0` -> `v57.0.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google/go-github (github.com/google/go-github/v55)</summary>

###
[`v57.0.0`](https://togithub.com/google/go-github/releases/tag/v57.0.0)

[Compare
Source](https://togithub.com/google/go-github/compare/v56.0.0...v57.0.0)

This release contains the following breaking API change:

- Change PushEvent.Pusher type to CommitAuthor
([#&#8203;2999](https://togithub.com/google/go-github/issues/2999))

...and the following additional changes:

- Bump go-github from v55 to v56 in /scrape
([#&#8203;2962](https://togithub.com/google/go-github/issues/2962))
- Add support for packages IP address for APIMeta
([#&#8203;2964](https://togithub.com/google/go-github/issues/2964))
- Bump github.com/google/go-cmp from 0.5.9 to 0.6.0
([#&#8203;2967](https://togithub.com/google/go-github/issues/2967))
- Move RateLimits method to a service
([#&#8203;2969](https://togithub.com/google/go-github/issues/2969))
- Add nil check in ErrorResponse.Error method
([#&#8203;2971](https://togithub.com/google/go-github/issues/2971))
- Lint godoc comments
([#&#8203;2972](https://togithub.com/google/go-github/issues/2972))
- Add referenced workflows to WorkflowRun
([#&#8203;2975](https://togithub.com/google/go-github/issues/2975))
- Use metadata to reconcile go-github with GitHub's OpenAPI descriptions
([#&#8203;2919](https://togithub.com/google/go-github/issues/2919))
- Fix branch protection request fields
([#&#8203;2977](https://togithub.com/google/go-github/issues/2977))
- Add dependabot alert update endpoint
([#&#8203;2981](https://togithub.com/google/go-github/issues/2981))
- Bump golang.org/x/sync from 0.4.0 to 0.5.0 in /tools
([#&#8203;2990](https://togithub.com/google/go-github/issues/2990))
- Deprecate RepositoriesService.List
([#&#8203;2988](https://togithub.com/google/go-github/issues/2988))
- Add support for Required Workflows
([#&#8203;2979](https://togithub.com/google/go-github/issues/2979))
- Implement Custom Properties
([#&#8203;2986](https://togithub.com/google/go-github/issues/2986))
- Bump golang.org/x/net from 0.17.0 to 0.18.0 in /scrape
([#&#8203;2991](https://togithub.com/google/go-github/issues/2991))
- Add default branch to repository edit event
([#&#8203;2995](https://togithub.com/google/go-github/issues/2995))
- Add Draft to Issue type
([#&#8203;2997](https://togithub.com/google/go-github/issues/2997))
- Fix secondary rate limits URL
([#&#8203;3001](https://togithub.com/google/go-github/issues/3001))
- Bump golang.org/x/net from 0.18.0 to 0.19.0 in /scrape
([#&#8203;3003](https://togithub.com/google/go-github/issues/3003))
- Implement global security advisories API
([#&#8203;2993](https://togithub.com/google/go-github/issues/2993))
- Bump version of go-github to v57.0.0
([#&#8203;3009](https://togithub.com/google/go-github/issues/3009))

###
[`v56.0.0`](https://togithub.com/google/go-github/releases/tag/v56.0.0)

[Compare
Source](https://togithub.com/google/go-github/compare/v55.0.0...v56.0.0)

This release contains the following breaking API changes:

- Remove ListServiceHooks
([#&#8203;2917](https://togithub.com/google/go-github/issues/2917))
- Fix SecretScanning API by switching arguments from url to json
([#&#8203;2934](https://togithub.com/google/go-github/issues/2934))
- Remove openpgp and change CreateCommit signature
([#&#8203;2935](https://togithub.com/google/go-github/issues/2935))
- Allow up to maxRedirects upon receiving HTTP 301 status
([#&#8203;2939](https://togithub.com/google/go-github/issues/2939))
- Escape branch string before inserting it in URL
([#&#8203;2948](https://togithub.com/google/go-github/issues/2948))
- Create MarkdownService, EmojisService, CodesOfConductService and
MetaService
([#&#8203;2937](https://togithub.com/google/go-github/issues/2937))
- Support options for GetCodeownersErrors
([#&#8203;2953](https://togithub.com/google/go-github/issues/2953))

(NOTE: In particular, please play close attention to
[#&#8203;2948](https://togithub.com/google/go-github/issues/2948) as it
may affect the code around the call.
Specifically, you may be required to remove any escaping that you
perform prior to calling the modified methods.)

...and the following additional changes:

- Bump go-github from v54 to v55 in /scrape
([#&#8203;2915](https://togithub.com/google/go-github/issues/2915))
- Add enterprise runner group operations
([#&#8203;2891](https://togithub.com/google/go-github/issues/2891))
- Add GenerateEnterpriseJITConfig
([#&#8203;2890](https://togithub.com/google/go-github/issues/2890))
- Fix linting
([#&#8203;2903](https://togithub.com/google/go-github/issues/2903))
- Handle encoding value of "none"
([#&#8203;2924](https://togithub.com/google/go-github/issues/2924))
- Correct NewEnterpriseClient deprecation message
([#&#8203;2923](https://togithub.com/google/go-github/issues/2923))
- Fix golangci-lint timeout failures
([#&#8203;2931](https://togithub.com/google/go-github/issues/2931))
- Bump golang.org/x/net from 0.14.0 to 0.15.0 in /scrape
([#&#8203;2925](https://togithub.com/google/go-github/issues/2925))
- Add missing secret scanning alert fields
([#&#8203;2930](https://togithub.com/google/go-github/issues/2930))
- Add development scripts
([#&#8203;2928](https://togithub.com/google/go-github/issues/2928))
- Add enterprise actions permissions endpoints and reorg files
([#&#8203;2920](https://togithub.com/google/go-github/issues/2920))
- Add SAML SSO audit log fields
([#&#8203;2941](https://togithub.com/google/go-github/issues/2941))
- Add test for resource JSON marshaling - ActionVariable
([#&#8203;2942](https://togithub.com/google/go-github/issues/2942))
- Add json marshaling tests for action usage and OIDC types
([#&#8203;2944](https://togithub.com/google/go-github/issues/2944))
- Add List Installation Requests API
([#&#8203;2947](https://togithub.com/google/go-github/issues/2947))
- Add support for "performed_via_github_app" and "requested_team" in
IssueEvent
([#&#8203;2946](https://togithub.com/google/go-github/issues/2946))
- Add "organization" field to more events
([#&#8203;2949](https://togithub.com/google/go-github/issues/2949))
- Add Repository Security Advisories APIs
([#&#8203;2902](https://togithub.com/google/go-github/issues/2902))
- Bump golang.org/x/net from 0.15.0 to 0.16.0 in /scrape
([#&#8203;2954](https://togithub.com/google/go-github/issues/2954))
- Add prevent_self_review on repo environments
([#&#8203;2951](https://togithub.com/google/go-github/issues/2951))
- Add type field to DeploymentBranchPolicy
([#&#8203;2957](https://togithub.com/google/go-github/issues/2957))
- Bump golang.org/x/net from 0.16.0 to 0.17.0 in /scrape
([#&#8203;2958](https://togithub.com/google/go-github/issues/2958))
- Bump golang.org/x/net from 0.10.0 to 0.17.0 in /example
([#&#8203;2960](https://togithub.com/google/go-github/issues/2960))
- Bump version of go-github to v56.0.0
([#&#8203;2961](https://togithub.com/google/go-github/issues/2961))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [x] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/slsa-framework/slsa-github-generator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Signed-off-by: Mend Renovate <[email protected]>
Co-authored-by: laurentsimon <[email protected]>
  • Loading branch information
renovate-bot and laurentsimon authored Dec 6, 2023
1 parent 0accc28 commit e9626e1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package github
import (
"context"

"github.com/google/go-github/v55/github"
"github.com/google/go-github/v57/github"
"golang.org/x/oauth2"
)

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require (
github.com/coreos/go-oidc/v3 v3.6.0
github.com/go-openapi/strfmt v0.21.7
github.com/go-openapi/swag v0.22.4
github.com/google/go-cmp v0.5.9
github.com/google/go-github/v55 v55.0.0
github.com/google/go-cmp v0.6.0
github.com/google/go-github/v57 v57.0.0
github.com/in-toto/in-toto-golang v0.9.0
github.com/pelletier/go-toml v1.9.5
github.com/secure-systems-lab/go-securesystemslib v0.7.0
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -450,14 +450,14 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-containerregistry v0.15.2 h1:MMkSh+tjSdnmJZO7ljvEqV1DjfekB6VUEAZgy3a+TQE=
github.com/google/go-containerregistry v0.15.2/go.mod h1:wWK+LnOv4jXMM23IT/F1wdYftGWGr47Is8CG+pmHK1Q=
github.com/google/go-github/v50 v50.2.0 h1:j2FyongEHlO9nxXLc+LP3wuBSVU9mVxfpdYUexMpIfk=
github.com/google/go-github/v50 v50.2.0/go.mod h1:VBY8FB6yPIjrtKhozXv4FQupxKLS6H4m6xFZlT43q8Q=
github.com/google/go-github/v55 v55.0.0 h1:4pp/1tNMB9X/LuAhs5i0KQAE40NmiR/y6prLNb9x9cg=
github.com/google/go-github/v55 v55.0.0/go.mod h1:JLahOTA1DnXzhxEymmFF5PP2tSS9JVNj68mSZNDwskA=
github.com/google/go-github/v57 v57.0.0 h1:L+Y3UPTY8ALM8x+TV0lg+IEBI+upibemtBD8Q9u7zHs=
github.com/google/go-github/v57 v57.0.0/go.mod h1:s0omdnye0hvK/ecLvpsGfJMiRt85PimQh4oygmLIxHw=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
Expand Down
2 changes: 1 addition & 1 deletion slsa/clientprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package slsa
import (
"context"

githubapi "github.com/google/go-github/v55/github"
githubapi "github.com/google/go-github/v57/github"

"github.com/slsa-framework/slsa-github-generator/github"
)
Expand Down

0 comments on commit e9626e1

Please sign in to comment.