We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34f5e0 commit 2a11db8Copy full SHA for 2a11db8
action.yaml
@@ -91,14 +91,15 @@ runs:
91
run: |
92
ORG_NAME=$(cat org-name.txt)
93
94
+ TEMPLATE=$(cat ${{ inputs.template }})
95
+
96
{
97
echo "org: $ORG_NAME"
98
echo "repositories:"
- jq -r --argfile template ${{ inputs.template }} '
99
+ jq -r --argjson fields "$TEMPLATE" '
100
to_entries[] |
101
.key as $repoName |
102
.value as $props |
- $template as $fields |
103
(
104
" - name: \($repoName)\n" +
105
@@ -119,6 +120,7 @@ runs:
119
120
echo "YAML written to repo-properties.yaml"
121
122
123
124
125
- name: Print out the repo-properties.yaml
126
shell: bash
0 commit comments