Skip to content

Commit

Permalink
Merge pull request #171 from ayushsharma82/patch-1
Browse files Browse the repository at this point in the history
Fix for running ci-arduino in private repos
  • Loading branch information
ladyada authored Dec 12, 2023
2 parents f1a3f8e + 4236d2d commit a7abac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ arduino-cli core update-index > /dev/null
case "$GITHUB_REPOSITORY" in
(*/ci-arduino|*/Adafruit_Learning_System_Guides) ;;
(*)
repo_topics=$(curl --request GET --url "https://api.github.com/repos/$GITHUB_REPOSITORY" | jq -r '.topics[]')
repo_topics=$($(curl --request GET --url "https://api.github.com/repos/$GITHUB_REPOSITORY" || []) | jq -r '.topics[]')
if [[ ! $repo_topics =~ "arduino-library" ]]; then
echo "::warning::arduino-library is not found in this repo topics. Please add this tag in repo About"
fi
Expand Down

0 comments on commit a7abac5

Please sign in to comment.