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

2
lib/actions-util.js generated
View file

@ -503,7 +503,7 @@ async function runTool(cmd, args = [], opts = {}) {
const persistedInputsKey = "persisted_inputs";
/**
* Persists all inputs to the action as state that can be retrieved later in the post-action.
* This is need due to a runner bug that can cause inputs to be lost in the post-action.
* This would be simplified if actions/runner#3514 is addressed.
* https://github.com/actions/runner/issues/3514
*/
const persistInputs = function () {