Skip to content

Commit 78baacf

Browse files
committed
fixes link
1 parent 399f541 commit 78baacf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/weekly_clone_stats.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,16 @@ jobs:
1818
- name: Check out code
1919
uses: actions/checkout@v3
2020

21-
- name: Install jq
22-
run: sudo apt-get update && sudo apt-get install -y jq
23-
2421
- name: Fetch Clone Stats
2522
env:
2623
GITHUB_TOKEN: ${{ secrets.TOKEN }}
2724
run: |
2825
REPO="${{ github.repository }}"
29-
OWNER="${{ github.repository_owner }}"
3026
curl -L \
3127
-H "Accept: application/vnd.github+json" \
3228
-H "Authorization: Bearer <YOUR-TOKEN>" \
3329
-H "X-GitHub-Api-Version: 2022-11-28" \
34-
https://api.github.com/repos/$OWNER/$REPO/traffic/clones > clone_stats.json
30+
https://api.github.com/repos/$REPO/traffic/clones > clone_stats.json
3531
3632
- name: Upload Clone Stats
3733
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)