GH-200 · Question #81
GH-200 Question #81: Real Exam Question with Answer & Explanation
The correct answer is A: Composite action. {"question_number": 9, "correct_answer": "A", "explanation": "A composite action allows you to combine multiple workflow steps - including shell run steps, other actions, and environment setup - into a single reusable custom action defined in an action.yml file. The runs.using: '
Question
Which action type should be used to bundle a series of run steps into a reusable custom action?
Options
- AComposite action
- BBash script action
- CDocker container action
- DJavaScript action
Explanation
{"question_number": 9, "correct_answer": "A", "explanation": "A composite action allows you to combine multiple workflow steps - including shell run steps, other actions, and environment setup - into a single reusable custom action defined in an action.yml file. The runs.using: 'composite' setting enables this pattern. This makes composite actions the right choice when you want to package a series of run commands and steps without writing JavaScript or building a Docker container. Docker container actions and JavaScript actions require additional infrastructure, and 'Bash script action' is not a formal GitHub Actions type.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.