File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 fi
4949 - name : update clone.json
5050 run : |
51- curl https://raw.githubusercontent.com/MShawon /github-clone-count-badge/master/main.py > main.py
51+ curl https://raw.githubusercontent.com/nathanthaler /github-clone-count-badge/master/main.py > main.py
5252 python3 main.py
5353 - name : Update gist with latest count
5454 run : |
@@ -61,18 +61,13 @@ jobs:
6161 if [ ! -f CLONE.md ]; then
6262 shields="https://img.shields.io/badge/dynamic/json?color=success&label=Clone&query=count&url="
6363 url="https://gist.githubusercontent.com/${{ github.actor }}/${{ steps.set_id.outputs.GIST }}/raw/clone.json"
64- repo="https://github. com/MShawon/ github- clone-count-badge "
64+ repo="https://gist.githubusercontent. com/${{ github.actor }}/${{ steps.set_id.outputs.GIST }}/raw/ clone.json "
6565 echo ''> CLONE.md
6666 echo '
6767 **Markdown**
6868 ```markdown' >> CLONE.md
6969 echo "[]($repo)" >> CLONE.md
70- echo '
71- ```
72- **HTML**
73- ```html' >> CLONE.md
74- echo "<a href='$repo'><img alt='GitHub Clones' src='$shields$url&logo=github'></a>" >> CLONE.md
75- echo '```' >> CLONE.md
70+ echo ```' >> CLONE.md
7671
7772 git add CLONE.md
7873 git config --global user.name "GitHub Action"
8378 uses : ad-m/github-push-action@master
8479 with :
8580 github_token : ${{ secrets.GITHUB_TOKEN }}
81+
Original file line number Diff line number Diff line change 1313 issues : write
1414 pull-requests : write
1515 steps :
16- - uses : actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
16+ - uses : actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
1717 with :
1818 repo-token : ${{ secrets.GITHUB_TOKEN }}
1919 days-before-stale : 60
You can’t perform that action at this time.
0 commit comments