Merge repos with workflow

This commit is contained in:
joshuafhiggins committed 2023-04-09 00:19:14 -04:00
1 parent e229ad9fa5
commit 45fb7ddd77
2697 files changed
+45896 -4191

No files matched your search

@@ -0,0 +1,8 @@
{{- /* ID */ -}}
{{- $count := (.Scratch.Get "this").count | default 1 -}}
{{- $id := printf "id-%d" $count -}}
{{- $count | add 1 | .Scratch.SetInMap "this" "count" -}}
{{- with .Content -}}
{{- dict $id . | dict "data" | dict "config" | merge ($.Scratch.Get "this") | $.Scratch.Set "this" -}}
{{- end -}}
{{- return $id -}}