File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -18,20 +18,16 @@ jobs:
18
18
- name : Check out code
19
19
uses : actions/checkout@v3
20
20
21
- - name : Install jq
22
- run : sudo apt-get update && sudo apt-get install -y jq
23
-
24
21
- name : Fetch Clone Stats
25
22
env :
26
23
GITHUB_TOKEN : ${{ secrets.TOKEN }}
27
24
run : |
28
25
REPO="${{ github.repository }}"
29
- OWNER="${{ github.repository_owner }}"
30
26
curl -L \
31
27
-H "Accept: application/vnd.github+json" \
32
28
-H "Authorization: Bearer <YOUR-TOKEN>" \
33
29
-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
35
31
36
32
- name : Upload Clone Stats
37
33
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments