<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 26, 2020 at 8:14 AM Nathan Froyd via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">It is not quite a full replacement for Herald rules, but Github supports labeling PRs depending on what files they modify:<br></div><div><br></div><div><a href="https://github.com/actions/labeler" target="_blank">https://github.com/actions/labeler</a></div><div><br></div><div>You can see it in action in the wasmtime repo, with its labels:</div><div><br></div><div><a href="https://github.com/bytecodealliance/wasmtime/blob/main/.github/labeler.yml" target="_blank">https://github.com/bytecodealliance/wasmtime/blob/main/.github/labeler.yml</a></div><div><br></div><div>and then using the subscribe-to-label action:</div><div><br></div><div><a href="https://github.com/bytecodealliance/subscribe-to-label-action" target="_blank">https://github.com/bytecodealliance/subscribe-to-label-action</a></div><div><br></div><div>people can get automatically CC'd to whatever areas they like.  The only downside is that information lives in the repo itself, so people who want to be notified have to submit "fixes" to the repo.<br></div><div><br></div><div>I know Herald lets you automatically add reviewers for given paths; it seems like that functionality ought to be supportable through Github actions as well.</div></div></div></blockquote><div><br></div><div>From the documentation:</div><div>>  This action will not currently work for pull requests from forks -- like is common in open source projects -- because the token for forked pull request workflows does not have write permissions</div></div></div>