Skip to content

Commit

Permalink
Merge pull request #32 from cbrgm/cbrgm-patch-7d7e73
Browse files Browse the repository at this point in the history
deps: update to google/go-github v50.0.0
  • Loading branch information
cbrgm authored Jan 30, 2023
2 parents 6e65ef6 + 8b46fdd commit c2f7d77
Show file tree
Hide file tree
Showing 105 changed files with 127 additions and 107 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ package main
import (
"fmt"
"github.com/cbrgm/githubevents/githubevents"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"net/http"
)

Expand Down Expand Up @@ -276,7 +276,8 @@ Alternatively, you can choose to build and manage a webhook through the Webhooks

| google/go-github | cbrgm/githubevents |
|------------------|--------------------|
| `v49.x` | `v1.7.x` |
| `v50.x` | `v1.8.x` |
| `v49.x` | <= `v1.7.x` |
| `v48.x` | <=`v1.6.x` |
| `v47.x` | <=`v1.4.x` |
| `v46.x` | <=`v1.3.x` |
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-http-server-packages/plugins/responder.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/cbrgm/githubevents/githubevents"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
)

func NewResponder(msg string) githubevents.IssueCommentEventHandleFunc {
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-http-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"

"github.com/cbrgm/githubevents/githubevents"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion gen/template_webhook_event_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package githubevents
import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"testing"
"sync"
)
Expand Down
2 changes: 1 addition & 1 deletion gen/template_webhook_event_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package githubevents
import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)
Expand Down
2 changes: 1 addition & 1 deletion gen/template_webook_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package githubevents
import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
"net/http"
"sync"
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
"net/http"
"sync"
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_branch_protection_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_branch_protection_rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_check_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_check_run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_check_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_check_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_commit_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_commit_comment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_deploy_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_deploy_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_deployment_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_deployment_status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_discussion.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_discussion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_fork.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_fork_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_github_app_authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_github_app_authorization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_gollum.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_gollum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_installation.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_installation_repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_installation_repositories_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_installation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_issue_comment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_issues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"fmt"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion githubevents/events_label_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package githubevents

import (
"errors"
"github.com/google/go-github/v49/github"
"github.com/google/go-github/v50/github"
"sync"
"testing"
)
Expand Down
Loading

0 comments on commit c2f7d77

Please sign in to comment.