mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-25 21:08:50 +00:00
Update dependencies
- github.com/fluxcd/go-git-providers v0.3.1 - github.com/fluxcd/pkg/ssa v0.3.1 - github.com/manifoldco/promptui v0.9.0 - sigs.k8s.io/controller-runtime v0.10.2 Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
21e5acc0e0
commit
43edb62f87
5 changed files with 27 additions and 32 deletions
|
|
@ -60,7 +60,7 @@ spec:
|
|||
orgName := os.Getenv("GITHUB_ORG_NAME")
|
||||
repoName := os.Getenv("GITHUB_REPO_NAME")
|
||||
githubToken := os.Getenv(github.TokenVariable)
|
||||
client, err := github.NewClient(github.WithOAuth2Token(githubToken))
|
||||
client, err := github.NewClient(gitprovider.WithOAuth2Token(githubToken))
|
||||
if err != nil {
|
||||
log.Fatalf("error initializing github client: %s", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue