Skip to content

Commit c4ce371

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

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ My name is Pulkit. I'm a undergraduate from 🇮🇳 [![wakatime](https://wakati
127127

128128
<br/>
129129

130+
<h3 align="left">🔥 My Stats :</h3>
131+
<!--START_SECTION:waka-->
132+
<!--END_SECTION:waka-->
130133

131-
[<img src="https://wakatime.com/share/@pulkitxm/b09efaa2-860c-4ed4-afbe-4a645828d6fe.svg" />](https://wakatime.com/@018b392d-3ab1-4608-aec5-c9d51a551252)
132134
<br/>
133135

134136
------------

0 commit comments

Comments
 (0)