rstudioSettings
rstudioSettings copied to clipboard
Offer a way to find all repositories that were created from this template
There seems to be no native GitHub way to do this as of now (and it's so easy with forks...).
With GraphQL it might be possible. The screenshot is taken from the post above.

The following query shows all my repositories with their template:
query {
viewer {
repositories(first: 100) {
edges {
node {
nameWithOwner,
templateRepository {
nameWithOwner
}
}
}
}
}
}
It can be run in https://docs.github.com/en/graphql/overview/explorer.
It should be possible to extend the search to all repositories, and to filter for a particular templateRepository.nameWithOwner . Pinging @maelle.
Relevant StackOverflow question: https://stackoverflow.com/q/62943177/946850.