Hi There
Wouldn’t it be awesome if your Profile README was updated with your Todoist Stats automatically, with you writing it yourself?
Well I’m here to tell you there is.
Firstly you should add the following code to your readme.md
<!– TODO-IST:START –>
<!– TODO-IST:END –>
Secondly create a new workflow in your actions and name it update-todoist.yml
on:
workflow_dispatch:
schedule:
# Runs every minute
– cron: “* * * * *”
jobs:
update-readme:
name: Update this repo’s README
runs-on: ubuntu-latest
steps:
– uses: actions/checkout@v2
– uses: abhisheknaiidu/todoist-readme@master
with:
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
PREMIUM: “”
Then you should get the following results, if you don’t get the following results then consider comparing your code with mine My Profile
And Boom!
You have updated your profile README with your Todoist Stats
See you next time,
Bye