File tree Expand file tree Collapse file tree 3 files changed +49
-3
lines changed Expand file tree Collapse file tree 3 files changed +49
-3
lines changed Original file line number Diff line number Diff line change 1+ name : WakaTime on Readme
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : " 30 1 * * *"
6+ jobs :
7+ update-readme :
8+ name : WakaReadme DevMetrics
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Update Readme with WakaTime Stats
12+ uses : athul/waka-readme@master
13+ with :
14+ WAKATIME_API_KEY : ${{ secrets.WAKATIME_API_KEY }}
15+ BLOCKS : ⣀⣄⣤⣦⣶⣷⣿
16+ TIME_RANGE : all_time
17+ SHOW_TIME : true
18+ SHOW_TOTAL : true
19+ SHOW_MASKED_TIME : true
20+ - uses : actions/checkout@v4
21+ - name : Update Workflow Stats
22+ run : |
23+ cd scripts && npm install && ACCESS_TOKEN=${{ secrets.ACCESS_TOKEN }} npm run update:workflow
24+ - name : Commit changes
25+ run : |
26+ git config --local user.email "${{ secrets.GIT_EMAIL }}"
27+ git config --local user.name "${{ secrets.GIT_USERNAME }}"
28+ git add -A
29+ git diff-index --quiet HEAD || git commit -m "Updated README.md"
30+ - name : Pull changes
31+ run : git pull -r
32+ - name : Push changes
33+ uses : ad-m/github-push-action@master
34+ with :
35+ github_token : ${{ secrets.GITHUB_TOKEN }}
36+ branch : ${{ github.ref }}
Original file line number Diff line number Diff line change @@ -125,11 +125,20 @@ My name is Pulkit. I'm a undergraduate from 🇮🇳 [
132- <br />
134+ TypeScript 261 hrs 12 mins ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄⣀⣀⣀⣀⣀⣀⣀ 68.40 %
135+ JavaScript 40 hrs 4 mins ⣿⣿⣶⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 10.49 %
136+ Python 17 hrs 51 mins ⣿⣄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 04.67 %
137+ JSON 11 hrs 55 mins ⣷⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 03.12 %
138+ HTML 9 hrs 57 mins ⣶⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 02.61 %
139+ ```
140+
141+ <!-- END_SECTION:waka-->
133142
134143------------
135144
Original file line number Diff line number Diff line change 88 "start" : " node src/index.js" ,
99 "get:posts" : " node src/fetchLatestBlogPosts.js" ,
1010 "get:followers" : " node src/fetchFollowers.js" ,
11+ "update:workflow" : " node src/updateWorkflow.js" ,
1112 "format" : " prettier --write \" **/*.{js,json}\" "
1213 },
1314 "keywords" : [],
You can’t perform that action at this time.
0 commit comments