diff --git a/.github/workflows/waka.yml b/.github/workflows/waka.yml index 62b57ac..fae8157 100644 --- a/.github/workflows/waka.yml +++ b/.github/workflows/waka.yml @@ -1,27 +1,16 @@ -name: WakaTime status update +name: Waka Readme on: schedule: - # Runs at 12 am '0 0 * * *' UTC - - cron: '1 0 * * *' - + # Runs at 12am IST + - cron: '30 18 * * *' + workflow_dispatch: jobs: update-readme: - name: Update the WakaTime Stat + name: Update Readme with Metrics runs-on: ubuntu-latest steps: - # Use avinal/Profile-Readme-WakaTime@ for latest stable release - # Do not change the line below until you have forked this repository - # If you have forked this project you can use /Profile-Readme-WakaTime@master instead - - uses: avinal/Profile-Readme-WakaTime@master + - uses: anmol098/waka-readme-stats@master with: - # WakaTime API key stored in secrets, do not directly paste it here WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} - # Automatic github token - GITHUB_TOKEN: ${{ github.token }} - # Branch - newer GitHub repositories have "main" as default branch, change to main in that case, default is master - BRANCH: "master" - # Manual Commit messages - write your own messages here - COMMIT_MSG: "Automated Coding Activity Update :alien:" - - + GH_TOKEN: ${{ secrets.GH_TOKEN }}