Question 1
Topic: Author and manage workflows
Skill tested: Configures workflow inputs and permissions for reusable, manually dispatched workflows.
A release engineering team uses a manually dispatched workflow to deploy a selected service to a specified environment. The workflow is called by another workflow in the same repository, and the caller must supply both values. The deployment job needs to update a deployment status but must not receive unnecessary repository write access. The team also wants the workflow's manually supplied inputs to be typed and validated by GitHub. Which TWO changes meet these requirements? Select TWO.
A reusable workflow can expose inputs through `on.workflow_call.inputs`, while manual dispatch inputs are separately declared under `on.workflow_dispatch.inputs`; corresponding declarations are needed for both invocation methods. GitHub validates declared input types for these events. The deployment status operation should receive only the required token scope, such as `deployments: write`, with other permissions kept minimal. Repository variables are not a substitute for typed workflow inputs, `write-all` is unnecessarily broad, and `workflow_run` does not provide this typed reusable-workflow input interface.