Trigger build from the secondary CodeCommit repo change

I have AWS CodePipeline setup that references CodeBuild project that specifies a secondary CodeCommit source. When I change code in the main CodeCommit project and push the changes the pipeline process is triggered and everything completes successfully. However changes (push) to the secondary CodeCommit project are simply ignored. Is there a way to trigger pipeline execution with changes to the secondary source(s)?