Skip to content

Commit

Permalink
cmd/cueckoo: update the needed scopes in docs
Browse files Browse the repository at this point in the history
The new cue-unity/unity-private repo is private,
so the old "public_repo" classic token scope is not enough.

Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I901bff2e36e1b68e41c69855dcafdc0119eeefed
Reviewed-on: https://review.gerrithub.io/c/cue-sh/tools/+/554522
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Paul Jolly <[email protected]>
  • Loading branch information
mvdan committed May 25, 2023
1 parent 004daeb commit 69e367d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cueckoo/cmd/runtrybot.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ assumed.
runtrybot requires GITHUB_USER and GITHUB_PAT environment variables to be set
with your GitHub username and personal acccess token respectively. The personal
access token only requires "public_repo" scope.
access token requires the "repo" scope, since Unity is a private repository.
Note that the personal access token should be "classic"; GitHub's new
fine-grained tokens are still in beta and haven't been tested to work here.
Expand Down
2 changes: 1 addition & 1 deletion cmd/cueckoo/cmd/unity.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ versions understood by unity.
unity requires GITHUB_USER and GITHUB_PAT environment variables to be set with
your GitHub username and personal acccess token respectively. The personal
access token only requires "public_repo" scope.
access token requires the "repo" scope, since Unity is a private repository.
`,
RunE: mkRunE(c, unityDef),
}
Expand Down

0 comments on commit 69e367d

Please sign in to comment.