如何在GitHub CODEOWNERS中忽略一个文件,同时仍然有一个通配符
我希望这是我忽略的一个非常简单的答案,但我在GitHub中使用了回购协议,并希望执行以下操作:如何在GitHub CODEOWNERS中忽略一个文件,同时仍然有一个通配符,github,ignore,Github,Ignore,我希望这是我忽略的一个非常简单的答案,但我在GitHub中使用了回购协议,并希望执行以下操作: # Default reviewers except for the subsequently listed things: * @global-owner1 @global-owner2 # Some other owners /packages/something/ @octocat /packages/another/ @doctocat # PRs _only_ affecting the
# Default reviewers except for the subsequently listed things:
* @global-owner1 @global-owner2
# Some other owners
/packages/something/ @octocat
/packages/another/ @doctocat
# PRs _only_ affecting the "Some other owners" paths will
# also include a change to the CHANGELOG.md, but I don't want
# @global-owner1 or @global-owner2 to be added on those PRs.
CHANGELOG.md
是否有办法以这种方式“忽略”CHANGELOG.md文件?该文件被向后读取,第一次匹配结束搜索。因此,似乎您不需要最后一行,因为“其他所有者路径”将首先被命中