問題文
A team stores a deployment token as an Actions secret and expects the agent to use it. What happens, and why?
選択肢
- The agent receives it only inside the setup steps and not during the session itself, so the token can be used for preparation but not for deployment.
- The agent receives it if the secret name is prefixed appropriately, which is how a value is promoted into the agent's environment.
- The agent does not receive it, because only Agents secrets and variables are passed to the agent; Actions, Codespaces, and Dependabot values are not.
- The agent receives it because its execution environment is powered by Actions, so the same secret store is available to it.