When reviewing an action for use, what file defines its available inputs and outputs?
Suggested Answer: E
Get Premium GH-200 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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.
17 comments · newest first
BR
Brandee
11 months ago
100% agree, action.yml is the go-to file!
TI
Tiffiny
11 months ago
No way, I always use defaults.json for that!
LA
Lai
11 months ago
I thought it was config.json at first, but action.yml makes sense.
RI
Rikki
12 months ago
Wait, is it really action.yml? I thought it was something else.
CO
Corrie
12 months ago
It's definitely action.yml that defines inputs and outputs.
PA
Patti
12 months ago
I'm a bit confused; I thought config.json might be relevant, but now I'm leaning towards action.yml based on what we practiced.
TW
Twila
1 year ago
I feel like I've seen a question like this before, and I think it was action.yml that had the details about inputs and outputs.
HA
Haydee
1 year ago
I remember something about inputs being defined in a YAML file, but I can't recall if it's inputs.yml or action.yml.
DE
Delsie
1 year ago
I think the file that defines inputs and outputs is called action.yml, but I'm not completely sure.
BA
Basilia
1 year ago
I've got this one! The file that defines the available inputs and outputs for an action is the action.yml file. That's where all the metadata about the action is stored, including the required inputs and the outputs it produces. I'm feeling good about this answer.
CH
Chuck
1 year ago
I'm a little confused by this question. I know the inputs and outputs are defined somewhere, but I can't recall which file it is off the top of my head. I'll have to review the documentation to be sure, but I think the answer might be E. action.yml.
AD
Adelaide
1 year ago
Okay, let me think this through step-by-step. When I'm reviewing an action, the file that defines its inputs and outputs is the action.yml file. That's where all the metadata about the action is stored, including the required inputs and the outputs it produces. I'm confident that's the right answer.
EL
Elza
1 year ago
Hmm, I'm a bit unsure about this one. I know the inputs and outputs are defined somewhere, but I can't remember if it's in action.yml or one of the other files. I'll have to think this through carefully.
JU
Julio
1 year ago
I'm pretty sure the answer is E. action.yml, since that's where the action's metadata, including its inputs and outputs, is defined.
KA
Karma
1 year ago
I'm not sure, but I think workflow.yml could also be a possible answer
CE
Cecilia
1 year ago
I agree with Hermila, action.yml defines the inputs and outputs
HE
Hermila
1 year ago
I think the answer is E) action.yml