[GitHub Actions] json typo corrections (#230)

This commit is contained in:
Joseph Macaranas
2025-08-09 22:08:49 -04:00
committed by GitHub
parent dd87117e93
commit 840ad49d28
2 changed files with 6 additions and 6 deletions
@@ -45,11 +45,11 @@ jobs:
- name: Add Repositories to the Super-repo
run: |
for repo in $(cat .github/repos-added-config-.json | jq -r '.repositories[].name'); do
repo_name=$(cat .github/repos-added-config.json | jq -r ".repositories[] | select(.name == \"$repo\") | .reponame")
url=$(cat .github/repos-added-config.json | jq -r ".repositories[] | select(.name == \"$repo\") | .url")
branch=$(cat .github/repos-added-config.json | jq -r ".repositories[] | select(.name == \"$repo\") | .branch")
category=$(cat .github/repos-added-config.json | jq -r ".repositories[] | select(.name == \"$repo\") | .category")
for repo in $(cat .github/repos-added-config-release.json | jq -r '.repositories[].name'); do
repo_name=$(cat .github/repos-added-config-release.json | jq -r ".repositories[] | select(.name == \"$repo\") | .reponame")
url=$(cat .github/repos-added-config-release.json | jq -r ".repositories[] | select(.name == \"$repo\") | .url")
branch=$(cat .github/repos-added-config-release.json | jq -r ".repositories[] | select(.name == \"$repo\") | .branch")
category=$(cat .github/repos-added-config-release.json | jq -r ".repositories[] | select(.name == \"$repo\") | .category")
git subtree add --prefix "${category}/${repo}" https://github.com/${url}.git "$branch"
done
+1 -1
View File
@@ -45,7 +45,7 @@ jobs:
- name: Add Repositories to the Super-repo
run: |
for repo in $(cat .github/repos-added-config-.json | jq -r '.repositories[].name'); do
for repo in $(cat .github/repos-added-config.json | jq -r '.repositories[].name'); do
repo_name=$(cat .github/repos-added-config.json | jq -r ".repositories[] | select(.name == \"$repo\") | .reponame")
url=$(cat .github/repos-added-config.json | jq -r ".repositories[] | select(.name == \"$repo\") | .url")
branch=$(cat .github/repos-added-config.json | jq -r ".repositories[] | select(.name == \"$repo\") | .branch")