Skip to content

Commit

Permalink
fix(deps): update module github.com/google/go-github/v67 to v68 (#36997)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/google/go-github/v67](https://redirect.github.com/google/go-github)
| `v67.0.0` -> `v68.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-github%2fv67/v68.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fgo-github%2fv67/v68.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fgo-github%2fv67/v67.0.0/v68.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fgo-github%2fv67/v67.0.0/v68.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

:warning: MAJOR VERSION UPDATE :warning: - please manually update this
package

---

### Release Notes

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

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

[Compare
Source](https://redirect.github.com/google/go-github/compare/v67.0.0...v68.0.0)

This release contains the following breaking API changes:

- feat!: Remove Project (classic) support
([#&#8203;3380](https://redirect.github.com/google/go-github/issues/3380))
BREAKING CHANGE: All support for "Project (classic)" is removed and
`Project` responses are replaced by `ProjectV2` (renamed from
`ProjectsV2`).
- fix!: Remove unused Stats field from Commit struct
([#&#8203;3395](https://redirect.github.com/google/go-github/issues/3395))
BREAKING CHANGE: The unused `Stats` field is removed from the `Commit`
struct.

...and the following additional changes:

- Bump go-github from v66 to v67 in /scrape
([#&#8203;3361](https://redirect.github.com/google/go-github/issues/3361))
- Map more missing installation permissions
([#&#8203;3363](https://redirect.github.com/google/go-github/issues/3363))
- build(deps): bump github.com/alecthomas/kong from 1.4.0 to 1.5.0 in
/tools
([#&#8203;3365](https://redirect.github.com/google/go-github/issues/3365))
- fix: Preserve HTTP Response in URL Errors
([#&#8203;3369](https://redirect.github.com/google/go-github/issues/3369))
- Update OpenAPI
([#&#8203;3374](https://redirect.github.com/google/go-github/issues/3374))
- feat: Add assignment for org role associations
([#&#8203;3371](https://redirect.github.com/google/go-github/issues/3371))
- build(deps): bump codecov/codecov-action from 5.0.7 to 5.1.1
([#&#8203;3375](https://redirect.github.com/google/go-github/issues/3375))
- build(deps): bump github.com/alecthomas/kong from 1.5.0 to 1.6.0 in
/tools
([#&#8203;3376](https://redirect.github.com/google/go-github/issues/3376))
- build(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 in /tools
([#&#8203;3377](https://redirect.github.com/google/go-github/issues/3377))
- build(deps): bump golang.org/x/net from 0.31.0 to 0.32.0 in /scrape
([#&#8203;3378](https://redirect.github.com/google/go-github/issues/3378))
- chore: Deprecate legacy ID-based team methods
([#&#8203;3373](https://redirect.github.com/google/go-github/issues/3373))
- feat: Support resolution_comment to update alert API
([#&#8203;3357](https://redirect.github.com/google/go-github/issues/3357))
- feat: Add custom_property events
([#&#8203;3379](https://redirect.github.com/google/go-github/issues/3379))
- feat: Deprecate and replace Bool,Int,Int64,String with Ptr using
generics
([#&#8203;3355](https://redirect.github.com/google/go-github/issues/3355))
- feat: Add GET for custom org repo role
([#&#8203;3372](https://redirect.github.com/google/go-github/issues/3372))
- chore: Remove commented out test code
([#&#8203;3381](https://redirect.github.com/google/go-github/issues/3381))
- build(deps): bump golang.org/x/crypto from 0.27.0 to 0.31.0 in
/example in the go_modules group
([#&#8203;3383](https://redirect.github.com/google/go-github/issues/3383))
- feat: Add enterprise custom properties
([#&#8203;3382](https://redirect.github.com/google/go-github/issues/3382))
- Change header keys to be canonical
([#&#8203;3389](https://redirect.github.com/google/go-github/issues/3389))
- chore: Sort std imports
([#&#8203;3390](https://redirect.github.com/google/go-github/issues/3390))
- feat: Document review request events in Timeline struct
([#&#8203;3391](https://redirect.github.com/google/go-github/issues/3391))
- fix: DownloadReleaseAsset handles renamed repository
([#&#8203;3392](https://redirect.github.com/google/go-github/issues/3392))
- Bump version of go-github to v68.0.0
([#&#8203;3397](https://redirect.github.com/google/go-github/issues/3397))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (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.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

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

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Curtis Robert <[email protected]>
  • Loading branch information
renovate[bot] and crobert-1 authored Jan 8, 2025
1 parent e64cee3 commit 68f42da
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cmd/githubgen/codeowners.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sort"
"strings"

"github.com/google/go-github/v67/github"
"github.com/google/go-github/v68/github"
)

const allowlistHeader = `# Code generated by githubgen. DO NOT EDIT.
Expand Down
2 changes: 1 addition & 1 deletion cmd/githubgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/cmd/githubgen
go 1.22.0

require (
github.com/google/go-github/v67 v67.0.0
github.com/google/go-github/v68 v68.0.0
go.opentelemetry.io/collector/confmap v1.23.0
go.opentelemetry.io/collector/confmap/provider/fileprovider v1.23.0
gopkg.in/yaml.v3 v3.0.1
Expand Down
4 changes: 2 additions & 2 deletions cmd/githubgen/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion receiver/githubreceiver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.8
require (
github.com/Khan/genqlient v0.7.0
github.com/google/go-cmp v0.6.0
github.com/google/go-github/v67 v67.0.0
github.com/google/go-github/v68 v68.0.0
github.com/gorilla/mux v1.8.1
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.117.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.117.0
Expand Down
4 changes: 2 additions & 2 deletions receiver/githubreceiver/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

"github.com/google/go-github/v67/github"
"github.com/google/go-github/v68/github"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.opentelemetry.io/collector/component/componenttest"
Expand Down Expand Up @@ -148,7 +148,7 @@ func TestScrape(t *testing.T) {
contribs: [][]*github.Contributor{
{
{
ID: github.Int64(1),
ID: github.Ptr(int64(1)),
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"time"

"github.com/Khan/genqlient/graphql"
"github.com/google/go-github/v67/github"
"github.com/google/go-github/v68/github"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"

"github.com/Khan/genqlient/graphql"
"github.com/google/go-github/v67/github"
"github.com/google/go-github/v68/github"
"github.com/stretchr/testify/assert"
"go.opentelemetry.io/collector/receiver/receivertest"
)
Expand Down Expand Up @@ -685,10 +685,10 @@ func TestGetContributors(t *testing.T) {
contribResponse: contribResponse{
contribs: [][]*github.Contributor{{
{
ID: github.Int64(1),
ID: github.Ptr(int64(1)),
},
{
ID: github.Int64(2),
ID: github.Ptr(int64(2)),
},
}},
responseCode: http.StatusOK,
Expand Down
2 changes: 1 addition & 1 deletion receiver/githubreceiver/traces_receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"sync"

"github.com/google/go-github/v67/github"
"github.com/google/go-github/v68/github"
"github.com/gorilla/mux"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/component/componentstatus"
Expand Down

0 comments on commit 68f42da

Please sign in to comment.