🚧 Updates README with Todoist Stats of a user
⚡️📌 Update your Todoist Stats ✅
TODOIST_API_KEY = <your todoist API token>
Add a comment to your README.md
like this:
# Todoist Stats
<!-- TODO-IST:START -->
<!-- TODO-IST:END -->
These lines will be our entry-points for the todoist stats.
Todoist gives you the confidence that everything’s organized and accounted for, so you can make progress on the things that are important to you.
Please follow the steps below:
<username>/<username>/actions
, hit New workflow
, set up a workflow yourself
, delete all the default content github made for you.
name: Todoist Readme
on:
workflow_dispatch:
schedule:
# Runs every minute
- cron: "* * * * *"
jobs:
update-readme:
name: Update todoist stats
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: abhisheknaiidu/todoist-readme@master
with:
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
PREMIUM: ""
Settings => Secrets
tab in your profile repo. You can also enter the url https://github.com/USERNAME/USERNAME/settings/secrets . Please replace the USERNAME
with your own username.Secret
. Name
: TODOIST_API_KEY
, Value
: Paste the Todoist API Token here. If you don’t know what is the token, please go to here to find your API Key there.README.md
like this:
# Todoist Stats
<!-- TODO-IST:START -->
<!-- TODO-IST:END -->
Todoist Readme
, and click Run workflow
.Please follow the steps below:
<username>/<username>/actions
, hit New workflow
, set up a workflow yourself
, delete all the default content github made for you.
name: Todoist Readme
on:
workflow_dispatch:
schedule:
# Runs every minute
- cron: "* * * * *"
jobs:
update-readme:
name: Update todoist stats
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: abhisheknaiidu/todoist-readme@master
with:
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
PREMIUM: true
To the extent possible under law, Abhishek Naidu has waived all copyright and related or neighboring rights to this work.
Inspired by yg/todoist-box
Inspired by gautamkrishnar/blog-post-workflow