commit | 366b9cafe9297de6c668ff061d29ce66f717370c | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Dec 11 13:35:06 2020 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Fri Dec 11 16:49:13 2020 +0100 |
tree | a59588e469f44321d4687c6a796a0b4991042aa1 | |
parent | b05f24f9a5c3477fa80f556cf615870599a56376 [diff] |
Validation: Do not reject imports that are added in the same commit If a commit is validated that contains a code owner config with a new import of a code owner config file that is added in the same commit, the commit was wrongly rejected saying that the imported code owner config was not resolveable. This was because we looked for the imported code owner config in the HEAD revision of the branch. Instead we should look it up from the commit from which also the importing code owner config was loaded. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I32b0d8b9f3699e012e8c904e8602635e3a92a491
This plugin provides support for defining code owners for files in a repository.
If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.
Also see resources/Documentation/about.md
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md