GitHub Actions Certification — Question 12
When reviewing an action for use, what file defines its available inputs and outputs?
Answer options
- A. inputs.yml
- B. config.json
- C. defaults.json
- D. workflow.yml
- E. action.yml
Correct answer: E
Explanation
The correct answer is E, action.yml, as it contains the definitions for the action's inputs and outputs. The other options do not serve this purpose; inputs.yml typically holds specific input values, config.json is used for configuration settings, defaults.json may contain default values, and workflow.yml outlines the workflow but does not define action inputs and outputs.