Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tyliec committed Feb 25, 2024
1 parent 9f09237 commit be8cb13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ jobs:
if ! jq -e . >/dev/null 2>&1 <<< "$(cat $repository-contributors.json)"; then
echo "No contributors for $repository"
rm $repository-contributors.json
continue
fi
echo $repository-contributors.json | jq -r '.contributors[] | {username: .login, avatar_url: .avatar_url, url: .profile }' | jq -s . > $repository-contributors.json
cat $repository-contributors.json | jq -r '.contributors[] | {username: .login, avatar_url: .avatar_url, url: .profile }' | jq -s . > $repository-contributors.json
if [ -s $repository-contributors.json ]; then
echo "Contributors found for $repository"
cat $repository-contributors.json
Expand Down

0 comments on commit be8cb13

Please sign in to comment.