File tree 3 files changed +2
-1
lines changed
3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 23
23
},
24
24
"dependencies" : {
25
25
"@octokit/webhooks" : " ^7.4.0" ,
26
+ "all-contributors-cli" : " ^6.14.2" ,
26
27
"lodash" : " ^4.17.15" ,
27
28
"probot" : " ^9.5.3" ,
28
29
"probot-serverless-now" : " ^2.1.2"
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { getUserDetails } from "./utils/getUserDetails";
5
5
import { FILETYPE_TO_CONTRIB_TYPE } from "./settings" ;
6
6
import { BranchNotFoundError , ResourceNotFoundError } from "./utils/errors" ;
7
7
import { Context } from "probot" ;
8
- import { WebhookPayloadPullRequest } from "@octokit/webhooks" ;
9
8
10
9
async function processAddContributor ( {
11
10
context,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { addContributions } from "./add_contribution";
5
5
export async function pull_requestOpened ( context : Context ) {
6
6
const { payload, github } = context ;
7
7
const isDraft = payload . pull_request . draft ;
8
+ context . log ( "functionpull_requestOpened -> isDraft" , isDraft ) ;
8
9
await github . issues . addLabels ( {
9
10
owner : payload . repository . owner . login ,
10
11
repo : payload . repository . name ,
You can’t perform that action at this time.
0 commit comments