title: Use two sources in an AWS-CodePipeline pipeline
body: <p>I have a specific case which I'm not sure if it's possible with AWS CodePipeline, and I didn't find any information about it in the documentation and event by googling....</p>
  
  <p>So I would like to know if I can set two sources in a pipeline (it could be in the same stage or different stages).</p>
  
  <p>Here is my use case :</p>
  
  <ul>
  <li>I would like my pipeline to start when a file (a specific object) is modified in my s3 bucket</li>
  <li>When this file changes and the pipeline is triggered, I would like to clone a codecommit repository and then process the build and other stages...</li>
  <li>In the other hand when there is a commit on the master branch of my codecommit repository, I would like the pipeline to start and build my sources.</li>
  <li>So The pipeline should be triggered either when the change comes from s3 or codecommit</li>
  <li>I don't want to version the s3 file in my codecommit repository because it should be encrypted and used by others teams than dev team working with the git repository</li>
  <li>And any time my pipeline starts either if it's from the s3 bucket change or the codecommit push, I should source the commit from the repository for build purposes...</li>
  </ul>
  
  <p>I don't know if my objectives specifications are clear, if yes is it possible to use two source actions in a pipeline as described above and how to achieve this?</p>
  
  <p>Thank you in advance.</p>
  
  <p>Cheers,
  Eugène NG</p>