Interview Prep/CI/CD/GitHub Actions and GitLab CI in Production

How do you organise reusable workflows for an organisation on GitHub?

IntermediateProductionGitHub Actions and GitLab CI in Production
Answer

Create a central repo (for example acme/platform-workflows) with workflows like java-service.yml, docker-publish.yml and terraform-plan.yml, each with typed inputs and clear outputs. Make the repo internal so org repositories can call it, tag releases (v4, v4.2.1) and let teams reference the major tag or SHA. Enforce usage with repository rulesets that require the central workflow, and keep CODEOWNERS on it with the platform and security teams.

All CI/CD questions Roadmap: GitLab CI/CD

More on GitHub Actions and GitLab CI in Production