Skip to content

Commit 81f635f

Browse files
committed
feat: wakatime workflow
1 parent 908c29b commit 81f635f

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

.github/workflows/readme-stats.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: WakaTime on Readme
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "30 0 * * *"
6+
jobs:
7+
update-readme:
8+
name: WakaReadme DevMetrics
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: athul/waka-readme@master
12+
with:
13+
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
14+
BLOCKS: ⣀⣄⣤⣦⣶⣷⣿
15+
TIME_RANGE: all_time
16+
SHOW_TIME: true
17+
SHOW_TOTAL: true
18+
SHOW_MASKED_TIME: true

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,20 @@ My name is Pulkit. I'm a undergraduate from 🇮🇳 [![wakatime](https://wakati
125125

126126
---
127127

128-
<br/>
128+
<h3 align="left">🔥 My Stats</h3>
129+
<!--START_SECTION:waka-->
129130

131+
```txt
132+
Total Time: 381 hrs 53 mins
130133
131-
[<img src="https://wakatime.com/share/@pulkitxm/b09efaa2-860c-4ed4-afbe-4a645828d6fe.svg" />](https://wakatime.com/@018b392d-3ab1-4608-aec5-c9d51a551252)
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

0 commit comments

Comments
 (0)