Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MSt-10 committed May 22, 2024
1 parent 263dc25 commit fb6f844
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,14 @@ runs:
REPO_PATH=$(echo $REPO_URL | sed -E 's/.*github\.com[:\/](.*)\.git/\1/')
API_URL="https://api.github.com/repos/$REPO_PATH"
NUM_STARS=$(curl -s $API_URL | jq '.stargazers_count')
NUM_CONTRIBUTORS=$(curl -s $API_URL/contributors | jq 'length')
echo "API_URL"
echo $API_URL
git log
NUM_STARS=$(curl -s $API_URL | jq '.stargazers_count // 0')
NUM_CONTRIBUTORS=$(curl -s $API_URL/contributors | jq 'length // 0')
echo "| Attribute | Value |"
echo "| ----------------- | ----- |"
Expand Down

0 comments on commit fb6f844

Please sign in to comment.