File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15363,10 +15363,11 @@ module.exports = /******/ (() => {
1536315363 /******/
1536415364 /******/ /******/ return module . exports ;
1536515365 /******/
15366- } /* webpack/runtime/compat */ /******/
15366+ } /* webpack/runtime/compat */
1536715367 /******/
1536815368 /************************************************************************/
15369- /******/ /******/ __nccwpck_require__ . ab =
15369+ /******/ /******/
15370+ /******/ __nccwpck_require__ . ab =
1537015371 __dirname +
1537115372 "/" ; /************************************************************************/ // module exports must be returned from runtime so entry inlining is disabled // startup // Load entry module and return exports
1537215373 /******/ /******/ /******/ /******/ return __nccwpck_require__ ( 3109 ) ;
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import { Octokit } from "@octokit/rest";
33import { Endpoints } from "@octokit/types" ;
44import * as core from "@actions/core" ;
55
6+ type listInstallationsResponse = Endpoints [ "GET /app/installations" ] [ "response" ] ;
7+
68async function run ( ) : Promise < void > {
79 try {
810 const privateKey : string = core . getInput ( "private_key" ) ;
@@ -17,8 +19,6 @@ async function run(): Promise<void> {
1719 baseUrl : process . env . GITHUB_API_URL || "https://api.github.com" ,
1820 } ) ;
1921
20- type listInstallationsResponse = Endpoints [ "GET /app/installations" ] [ "response" ] ;
21-
2222 const installations : listInstallationsResponse = await appOctokit . apps . listInstallations ( ) ;
2323 let installationId = installations . data [ 0 ] . id ;
2424 if ( scope !== "" ) {
You can’t perform that action at this time.
0 commit comments