Automation features require creating changesets (PRs) on code hosts. If you are not part of the Sourcegraph organization, we recommend you create dummy projects to safely test changes on so you do not spam real repositories with your tests. If you are part of the Sourcegraph organization, we have an account set up for this purpose.
dev-private/enterprise/dev/external-services-config.json
to only contain a GitHub external service config with the token, like this:{ "GITHUB": [ { "authorization": {}, "url": "https://github.com", "token": "<TOKEN>", "repositoryQuery": ["affiliated"] } ] }
./enterprise/dev/start.sh
— Wait until all ~187 repositories are cloned.repo:github
as a scopeQuery
that will match all your repos. It takes a while to preview/create a campaign but also helps a lot with finding bugs/errors, etc.