Skip to content

Commit

Permalink
chore(workflows): perf curl
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Feb 18, 2023
1 parent c10bbc0 commit 5bf38a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/star_fork_notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Get repository information
run: |
result=$(curl -H "Authorization: token ${{ secrets.READ_REPO_STAR_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}")
result=$(curl -s -H "Authorization: token ${{ secrets.READ_REPO_STAR_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}")
stars=$(echo $result | jq '.stargazers_count')
forks=$(echo $result | jq '.forks_count')
repo_name=$(echo $result | jq '.name')
Expand Down

0 comments on commit 5bf38a3

Please sign in to comment.