commit | a590a7a2073d38586eff9db3e9fddb83fc92a8ee | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Thu Dec 03 16:51:26 2020 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Fri Dec 04 12:48:46 2020 +0100 |
tree | 7a168a27417018afec44308e23f77959db524492 | |
parent | e2b09e5daa7bb23654f536778653003c960ddff9 [diff] |
Allow to define and configure override label in the same commit When a code-owners.config file is pushed we validate the override configuration in it. This includes checking if the configured label exists for the project. If the label didn't exist yet, but was configured in the commit that is being pushed, we didn't take it into account and wrongly rejected the commit, saying that the label doesn't exist (because we read the labels from the head revision of refs/meta/config and not from the commit that was being pushed). This is fixed now, by reading the available labels from the commit that is being pushed. Change-Id: Ifecaca554605c123c62c347b54cb873f7cc7e09d Signed-off-by: Edwin Kempin <ekempin@google.com>
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