File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -61997,6 +61997,7 @@ const {getUserIsApprover} = __nccwpck_require__(5008);
6199761997 // const repo = 'repo';
6199861998 // const org = 'org';
6199961999 const { actor, repo, org } = github.context;
62000+ console.log(actor, repo, org);
6200062001 try {
6200162002 const isApprover = await getUserIsApprover(org, repo, actor);
6200262003 if (!isApprover) {
@@ -62005,9 +62006,6 @@ const {getUserIsApprover} = __nccwpck_require__(5008);
6200562006 } catch (error) {
6200662007 core.setFailed(error.message);
6200762008 }
62008- console.log(isApprover);
62009-
62010-
6201162009})();
6201262010
6201362011
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const {getUserIsApprover} = require('./lib/helpers');
88 // const repo = 'repo';
99 // const org = 'org';
1010 const { actor, repo, org } = github . context ;
11+ console . log ( actor , repo , org ) ;
1112 try {
1213 const isApprover = await getUserIsApprover ( org , repo , actor ) ;
1314 if ( ! isApprover ) {
@@ -16,8 +17,5 @@ const {getUserIsApprover} = require('./lib/helpers');
1617 } catch ( error ) {
1718 core . setFailed ( error . message ) ;
1819 }
19- console . log ( isApprover ) ;
20-
21-
2220} ) ( ) ;
2321
You can’t perform that action at this time.
0 commit comments