[GitHub Actions] json typo corrections (#230)

Dieser Commit ist enthalten in:
Joseph Macaranas verfasst und GitHub committed 2025-08-09 22:08:49 -04:00
1 Ursprung dd87117e93
Commit 840ad49d28
2 Dateien geändert
+6 -6

Keine Dateien entsprechen Ihrer Suche

+5 -5
Datei anzeigen
@@ -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
Datei anzeigen
@@ -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")