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.
More on GitHub Actions and GitLab CI in Production
How do you reduce GitHub Actions minutes cost on private repos?IntermediateHow do you secure self-hosted runners?AdvancedHow do you design the GitHub Actions OIDC trust policy for AWS safely?AdvancedHow do you handle approvals and deployments across environments in GitHub Actions?IntermediateHow do you handle required checks when workflows use path filters or matrices?AdvancedHow do you keep GitHub Actions workflow files themselves safe from unauthorised changes?Intermediate