@@ -14,34 +14,22 @@ jobs:
1414 readme-workflow :
1515 runs-on : ubuntu-latest
1616 steps :
17- - name : 🔑 Updating GitHub Token
18- env :
19- GITHUB_TOKEN : ${{ secrets.TOKEN }}
20- run : echo "GH_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV
21-
2217 - name : 📦 Checkout Repository
2318 uses : actions/checkout@v6
2419 with :
2520 fetch-depth : 0
26- ref : master
27- token : ${{ env.GH_TOKEN }}
28-
29- - name : 🔐 Setup GitHub credentials
30- run : |
31- git config --global url.https://${{ secrets.TOKEN }}@github.com/.insteadOf https://github.com/
21+ ref : ${{ github.ref }}
3222
3323 - name : 🐍 Set up Python 3.7
3424 uses : actions/setup-python@v6
3525 with :
3626 python-version : ' 3.x'
3727
3828 - name : 📝 Create readme
39- uses : ' clouddrove/github-actions@9.0.3 '
29+ uses : ' clouddrove/github-actions@9.0.4 '
4030 with :
4131 actions_subcommand : ' readme'
42- github_token : ' ${{ secrets.TOKEN }}'
43- env :
44- GITHUB_TOKEN : ${{ secrets.TOKEN}}
32+ github_token : ${{ secrets.TOKEN }}
4533
4634 - name : ✅ Pre-commit check errors
4735 uses : pre-commit/action@v3.0.1
@@ -52,11 +40,10 @@ jobs:
5240 continue-on-error : true
5341
5442 - name : 🚀 Push readme
55- uses : ' clouddrove/github-actions@9.0.3 '
43+ uses : ' clouddrove/github-actions@9.0.4 '
5644 with :
5745 actions_subcommand : ' push'
58- env :
59- GITHUB_TOKEN : ${{ secrets.TOKEN}}
46+ github_token : ${{ secrets.TOKEN }}
6047
6148 - name : 📣 Slack Notification
6249 uses : clouddrove/action-slack@v2
0 commit comments