55 "fmt"
66
77 "github.com/google/go-github/scrape"
8- "github.com/google/go-github/v84/github"
8+ githubv84 "github.com/google/go-github/v84/github"
9+ "github.com/google/go-github/v85/github"
910 "github.com/openshift-pipelines/pipelines-as-code/pkg/params/triggertype"
1011)
1112
@@ -26,13 +27,13 @@ func generateManifest(opts *bootstrapOpts) ([]byte, error) {
2627 triggertype .PullRequest .String (),
2728 "push" ,
2829 },
29- DefaultPermissions : & github .InstallationPermissions {
30- Checks : github .Ptr ("write" ),
31- Contents : github .Ptr ("write" ),
32- Issues : github .Ptr ("write" ),
33- Members : github .Ptr ("read" ),
34- Metadata : github .Ptr ("read" ),
35- PullRequests : github .Ptr ("write" ),
30+ DefaultPermissions : & githubv84 .InstallationPermissions {
31+ Checks : githubv84 .Ptr ("write" ),
32+ Contents : githubv84 .Ptr ("write" ),
33+ Issues : githubv84 .Ptr ("write" ),
34+ Members : githubv84 .Ptr ("read" ),
35+ Metadata : githubv84 .Ptr ("read" ),
36+ PullRequests : githubv84 .Ptr ("write" ),
3637 },
3738 }
3839 return json .Marshal (sc )
0 commit comments