Allow templates to be located on non-default branch (#2839)

* Checkout branch if not on default

* Use checkout Ref

* Get first directory instead of relying on component_id

* Checkout branch when clonning

* Update test

* Default to empty string

* Added changeset

* Added test for Cookie Cutter installed & nothing generated

* Added comment
This commit is contained in:
Taras Mankovski
2020-10-14 02:24:41 -04:00
committed by GitHub
parent 01876a713a
commit c926765a2c
5 changed files with 115 additions and 15 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Allow templates to be located on non-default branch