Full AWS Practitioner Certification Question

What is one of the main reasons for hosting a GitHub Action in a separate repository when making it public?