review-comments: add more descriptive comments to various persist/restoreState callsites.

Co-authored-by: Henry Mercer <henrymercer@github.com>
Co-authored-by: Fotis Koutoulakis <nlightnfotis@github.com>
This commit is contained in:
Fotis Koutoulakis (@NlightNFotis) 2024-10-21 15:42:51 +01:00
parent cdceebcb88
commit 9bc4ee10c7
24 changed files with 24 additions and 28 deletions

View file

@ -45,8 +45,7 @@ async function runWrapper() {
let config;
let uploadFailedSarifResult;
try {
// Work around for issue in actions/runner, details at
// https://github.com/github/codeql-action/issues/2553
// Restore inputs from `init` Action.
(0, actions_util_1.restoreInputs)();
const gitHubVersion = await (0, api_client_1.getGitHubVersion)();
(0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger);