Git push does commits the changes to CodeCommit but not on the main branch. The pipeline is set to trigger on main branch. Is this by design ?
Mitigated by creating a pull request OR directly committing to the main branch will trigger the Codepipeline to run.