We currently do this for archives produced by github but it seems generally useful (In particular, it would make the CodePipeline "My First Pipeline" tutorial simpler). This should not modify the behavior of anything that works now (modulo bugs)
Testing
I created an integration test which runs successfully. I also successfully manually tested a prior version of this (with the same logic) in my own Deployment group.
Coverage decreased (-0.08%) to 91.42% when pulling f3f033cec2e8bde5e975818a9dd786bb31a7e3f4 on folder_branch into 88f45b1301522ad07d9f4d60ed60e4b0764f904c on master.
Notes
We currently do this for archives produced by github but it seems generally useful (In particular, it would make the CodePipeline "My First Pipeline" tutorial simpler). This should not modify the behavior of anything that works now (modulo bugs)
Testing
I created an integration test which runs successfully. I also successfully manually tested a prior version of this (with the same logic) in my own Deployment group.