Skip to content

Commit fb312e0

Browse files
author
Shivam Mukhade
committed
Add check_run in bootstrap & remove commit comment (not supported)
this adds check run event in boostrap to configure and remove commit comment from docs as pac doesn't process it anymore. Signed-off-by: Shivam Mukhade <[email protected]>
1 parent 72ac6c8 commit fb312e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content/docs/install/github_apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Controller route or ingress endpoint which would listen to GitHub events.
3535
* **Plan**: `Readonly`
3636

3737
* Select the following user permissions:
38-
* Commit comment
38+
* Check run
3939
* Issue comment
4040
* Pull request
4141
* Push

pkg/cmd/tknpac/bootstrap/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func generateManifest(opts *bootstrapOpts) ([]byte, error) {
1818
Description: github.String("Pipeline as Code Application"),
1919
Public: github.Bool(true),
2020
DefaultEvents: []string{
21-
"commit_comment",
21+
"check_run",
2222
"issue_comment",
2323
"pull_request",
2424
"push",

0 commit comments

Comments
 (0)