File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " execute-whitelist-action" ,
3- "version" : " 1.0.4 " ,
3+ "version" : " 1.0.5 " ,
44 "description" : " Action to whitelist executions" ,
55 "main" : " index.ts" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -10,19 +10,19 @@ async function run() {
1010
1111 const allowedUserIds = allowedIds . split ( ',' ) ;
1212
13- core . warning ( `First user id: ${ allowedUserIds [ 0 ] } ` )
13+ console . log ( `First user id: ${ allowedUserIds [ 0 ] } ` )
1414
1515 const octokit = github . getOctokit ( core . getInput ( 'token' ) ) ;
1616
1717 const username = github . context . actor ;
1818
19- core . warning ( `Username: ${ username } ` )
19+ console . log ( `Username: ${ username } ` )
2020
2121 const { data : user } = await octokit . rest . users . getByUsername ( {
2222 username : username ,
2323 } ) ;
2424
25- core . warning ( `User id: ${ user . id } ` )
25+ console . log ( `User id: ${ user . id } ` )
2626
2727 const userId = user . id . toString ( ) ;
2828
You can’t perform that action at this time.
0 commit comments