Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tyliec committed Feb 25, 2024
1 parent be8cb13 commit c2eda8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ jobs:
echo "Collecting contributors for $repository"
curl -s https://raw.githubusercontent.com/CodeWithAloha/$repository/main/.all-contributorsrc > $repository-contributors.json
cat $repository-contributors.json
if ! jq -e . >/dev/null 2>&1 <<< "$(cat $repository-contributors.json)"; then
echo "No contributors for $repository"
echo "No contributors for $repository, or .all-contributorsrc is not valid JSON"
rm $repository-contributors.json
continue
fi
Expand Down

0 comments on commit c2eda8b

Please sign in to comment.