A team's application repository lives on GitHub and is connected to a V2 type CodePipeline pipeline through a CodeStar connection. They want the pipeline to start only when a commit is pushed to the main branch under the services/api/ path, and separately whenever a Git tag matching v* is pushed, regardless of branch. They want to configure this with pipeline triggers and no extra Lambda or webhook code.