mirror of
https://github.com/opencontainers/runc.git
synced 2026-11-06 05:17:05 +00:00
Make the review-policy workflow reusable (via workflow_call), so other opencontainers repositories with the same merge rules (such as opencontainers/cgroups, see opencontainers/cgroups#91) can call it instead of carrying a copy. The calling repository gets the same logic, which is fine, since: - CHANGELOG.md and vendor/ exceptions are no-ops where there's no such file/directory; - the merge_group trigger is the caller's, and it's harmless when unused. The only difference was CODEOWNERS, which cgroups treats as a governance file. Add it here, too, as it does define who reviews what. Document how to use it from another repository. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>