GitHub Foundations — Question 10
When creating and managing custom actions in an enterprise setting, which of the following is considered a best practice?
Answer options
- A. creating a separate repository for each action so that the version can be managed independently
- B. creating a separate branch in application repositories that only contains the actions
- C. creating a single repository for all custom actions so that the versions for each action are all the same
- D. including custom actions that other teams need to reference in the same repository as application code
Correct answer: A
Explanation
The correct answer is A because having a separate repository for each custom action allows for independent version control, making it easier to manage updates and changes. Options B and C can complicate version management, and option D can lead to clutter and confusion in the application codebase, making it harder to track changes specific to custom actions.