aws-samples / aws-saas-factory-serverless-workshop

MIT No Attribution
133 stars 63 forks source link

Lab 1 - Step 15 : Git commit step does not trigger codepipeline. #46

Open lhtan-dev opened 1 year ago

lhtan-dev commented 1 year ago

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.

brtrvn commented 6 months ago

I just noticed this for the first time too. Looks like it picked a dependabot branch for some reason. Maybe it only happens when there's an open dependabot PR available? We can look at adding an explicit git checkout main prior to the commit.