Interview Prep/CI/CD/GitHub Actions

What is a "required workflow" or ruleset-based workflow enforcement in GitHub?

AdvancedConceptGitHub Actions
Answer

Organisations can enforce that a specific workflow (typically security scans or compliance checks) must pass on every repository, without each team copying it, using repository rulesets with the "Require workflows to pass before merging" rule. The workflow lives in a central repo and runs against the target repo's PRs; teams cannot delete or edit it. It complements required status checks and CODEOWNERS for the .github/workflows directory.

All CI/CD questions

More on GitHub Actions