Configure a Custodian job that reviews upstream GitHub pull requests for downstream impact
In this recipe, you configure Custodian to review pull requests in one upstream GitHub repository for evidence-supported effects on one downstream repository.The job posts its findings as a source-control review. For this first setup, you use Review only so Custodian does not change downstream code.
In Sidecar, select Integrations → GitHub.If the standard Sidecar Data GitHub app is not connected, click Link Sidecar Data and grant it access to the downstream repository.
2
Install Custodian for the upstream repository
On the same GitHub integration page, find Custodian and click Manage access in GitHub.Install or configure the Custodian GitHub app with access to the upstream repository. If GitHub shows an approval request, ask an organization administrator to approve it.Return to Sidecar and confirm that the Custodian installation lists the upstream repository as accessible.
Under Scope → Subscribed repositories, find the upstream repository and click Bind.You can use Bind all accessible when every accessible repository should be available as a Custodian upstream.Confirm that the repository shows as bound and accessible.
Use a name that identifies the repository relationship, such as API changes → analytics impact review.Add a description that helps Account Admins recognize the job in the Console.
2
Review the instructions
Keep the default instructions for the first job. Add only constraints specific to this upstream and downstream relationship.
3
Select upstream and downstream
Under Scope, select:
Upstream repository — the repository you bound to Custodian
Downstream repository — the different repository connected through the standard Sidecar GitHub integration
Save the scope.
4
Choose review behavior
Under Review behavior, select Review only.Leave Suppress no-findings comments off for the first test. This lets you confirm that the workflow ran even when it finds no downstream impact.After validating the workflow, you can choose Draft PR when a safe fix is verified.
5
Check readiness
Confirm that the readiness panel marks the upstream and downstream repositories ready.Knowledge Store and Context Garage checks are informational. They do not block activation.
6
Activate the job
Switch the job to Active.Sidecar allows only one active Custodian downstream-impact job for a given upstream repository. If activation fails, pause the existing job or choose another upstream.
Create a safe test pull request in the upstream repository, or push a new commit to an existing test pull request.Custodian starts from the GitHub pull-request webhook. This job does not have Run now.
2
Follow the run
Open Agents → Console and select the Custodian run. Review the evidence, findings, and delivery status.
3
Review the GitHub result
Return to the upstream pull request and find the Custodian review comment.With Review only, Custodian does not change downstream code. If you later enable draft remediation, review any downstream draft pull request before merging.