Skip to content

Commit

Permalink
fix: Retrieve and log issues from the repository in index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
austenstone committed Nov 26, 2024
1 parent e4dd0fa commit c092823
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29142,9 +29142,12 @@ const input = {
(0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.info)(JSON.stringify(input, null, 2));
(0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.info)(JSON.stringify(_actions_github__WEBPACK_IMPORTED_MODULE_1__.context.repo, null, 2));
const octokit = (0,_actions_github__WEBPACK_IMPORTED_MODULE_1__.getOctokit)(input.token);
(0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.info)(JSON.stringify(octokit, null, 2));
try {
await (0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.group)("Issues", async () => {
const { data: issues } = await octokit.rest.issues.list(_actions_github__WEBPACK_IMPORTED_MODULE_1__.context.repo);
for (const issue of issues) {
(0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.info)(`#${issue.number}: ${issue.title}`);
}
});
}
catch (e) {
Expand All @@ -29153,7 +29156,7 @@ catch (e) {
}
throw e;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZmlsZTovLy9DOi9Vc2Vycy9hdXN0ZS9zb3VyY2UvYWN0aW9uLXR5cGVzY3JpcHQvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFFLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUV0RCxNQUFNLE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lBQ25CLENBQUM7SUFDRCxNQUFNLENBQUMsQ0FBQztBQUNWLENBQUMifQ==
__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } }, 1);

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit c092823

Please sign in to comment.