GitHub Actions Certification — Question 12

When reviewing an action for use, what file defines its available inputs and outputs?

Answer options

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.