GitHub Foundations — Question 15
When reviewing an action for use, what file defines its available inputs and outputs?
Answer options
- A. inputs.yml
- B. defaults.json
- C. workflow.yml
- D. config.json
- E. action.yml
Correct answer: E
Explanation
The correct answer is E, action.yml, as this file contains the necessary definitions for an action's inputs and outputs. The other options do not serve this specific purpose; for instance, inputs.yml is specifically for defining inputs, but not outputs, while workflow.yml is for defining the workflow structure itself.