Skip to content

Commit a7abac5

Browse files
authored
Merge pull request espressif#171 from ayushsharma82/patch-1
Fix for running ci-arduino in private repos
2 parents f1a3f8e + 4236d2d commit a7abac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ arduino-cli core update-index > /dev/null
3737
case "$GITHUB_REPOSITORY" in
3838
(*/ci-arduino|*/Adafruit_Learning_System_Guides) ;;
3939
(*)
40-
repo_topics=$(curl --request GET --url "https://api.github.com/repos/$GITHUB_REPOSITORY" | jq -r '.topics[]')
40+
repo_topics=$($(curl --request GET --url "https://api.github.com/repos/$GITHUB_REPOSITORY" || []) | jq -r '.topics[]')
4141
if [[ ! $repo_topics =~ "arduino-library" ]]; then
4242
echo "::warning::arduino-library is not found in this repo topics. Please add this tag in repo About"
4343
fi

0 commit comments

Comments
 (0)