Open jsoref opened 3 weeks ago
It is possible to work around this broken behavior by using https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#sending-values-to-the-pre-and-post-actions as in https://github.com/check-spelling-sandbox/symmetrical-guide/commit/1516f0a2bdd0d9ac8f03ad1d93ee42819fa9c9ac, but each and every github node action shouldn't be expected to do this (including first party actions, such as github/codeql-action).
Describe the bug
The inputs from a composite action are used by a called node action in the post phase instead of the inputs passed to the called node action.
To Reproduce
the post run dies: https://github.com/check-spelling-sandbox/symmetrical-guide/actions/runs/11422876413/job/31781374640#step:7:4
You can see a previous run where the code was slightly different https://github.com/check-spelling-sandbox/symmetrical-guide/actions/runs/11422865129/job/31781351496
Expected behavior The input provided to the action should be present in the environment for the post action as well. And not the inputs provided to some other action (the caller of the action).
Runner Version and Platform
Version of your runner? 2.320.0 OS of the machine running the runner? Ubuntu 22.04.5 LTS
What's not working?
Job Log Output
Runner and Worker's Diagnostic Logs
This is the reason I filed #3510