Is in repository

Apache 2.0

A search recipe which marks files that are in a repository with one of the supplied names. Intended for use as a precondition for other recipes being run over many different repositories.

org.openrewrite.IsInRepository

Required

The names of the repositories that are allowed to be searched. Determines repository name according to git metadata recorded in the GitProvenance marker. Separate values with commas.

mod run . --recipe=org.openrewrite.IsInRepository \ -P allowedRepositories=rewrite

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.