When reviewing an action for use, what file defines its available inputs and outputs?
Options:
A.
inputs.yml
B.
config.json
C.
defaults.json
D.
workflow.yml
E.
action.yml
Answer:
E
Explanation:
The action.yml file defines the inputs and outputs for a GitHub Action. This file contains metadata about the action, including the required inputs and outputs, as well as other configurations like the action ' s description, runs, and environment setup.
Question 30
Which workflow event is used to manually trigger a workflow run?
Options:
A.
create
B.
workflow_dispatch
C.
workflow_run
D.
status
Answer:
B
Explanation:
The workflow_dispatch event is used to manually trigger a workflow run in GitHub Actions. You can specify this event in the workflow file to allow users to manually trigger the workflow from the GitHub UI, often with optional input parameters.