Skip to content

Commit

Permalink
feat: Log input configuration for GitHub token in index.js for improv…
Browse files Browse the repository at this point in the history
…ed debugging
  • Loading branch information
austenstone committed Nov 26, 2024
1 parent 802c42e commit f6969c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29139,6 +29139,7 @@ __nccwpck_require__.r(__webpack_exports__);
const input = {
token: (0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput)("github-token"),
};
(0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.info)(JSON.stringify(input, null, 2));
const octokit = (0,_actions_github__WEBPACK_IMPORTED_MODULE_1__.getOctokit)(input.token);
try {
const { data: issues } = await octokit.rest.issues.list(_actions_github__WEBPACK_IMPORTED_MODULE_1__.context.repo);
Expand All @@ -29152,7 +29153,7 @@ catch (e) {
throw e;
}
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZmlsZTovLy9DOi9Vc2Vycy9hdXN0ZS9zb3VyY2UvYWN0aW9uLXR5cGVzY3JpcHQvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RCxPQUFPLEVBQUUsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRXRELE1BQU0sS0FBSyxHQUFHO0lBQ1osS0FBSyxFQUFFLFFBQVEsQ0FBQyxjQUFjLENBQUM7Q0FDaEMsQ0FBQztBQUVGLE1BQU0sT0FBTyxHQUFHLFVBQVUsQ0FBQyxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUM7QUFFeEMsSUFBSSxDQUFDO0lBQ0gsTUFBTSxFQUFFLEl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yxNQUFNLE9BQU8sR0FBRyxVQUFVLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBRXhDLElBQUksQ0FBQztJQUNILE1BQU0sRUFBRSxJQUFJLEVBQUUsTUFBTSxFQUFFLEdBQUcsTUFBTSxPQUFPLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBRXRFLEtBQUssTUFBTSxLQUFLLElBQUksTUFBTSxFQUFFLENBQUM7UUFDM0IsSUFBSSxDQUFDLElBQUksS0FBSyxDQUFDLE1BQU0sS0FBSyxLQUFLLENBQUMsS0FBSyxFQUFFLENBQUMsQ0FBQztJQUMzQyxDQUFDO0FBQ0gsQ0FBQztBQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUM7SUFDWCxJQUFJLENBQUMsWUFBWSxLQUFLLEVBQUUsQ0FBQztRQUN2QixLQUFLLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ2pCLE1BQU0sQ0FBQyxDQUFDO0lBQ1YsQ0FBQztBQUNILENBQUMifQ==
__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 f6969c1

Please sign in to comment.