Skip to content
bar-chart-2

GitHub Action

WakaTime Stats Charts Generator - Repo Racers Pro Support

v0.0.3 Latest version

WakaTime Stats Charts Generator - Repo Racers Pro Support

bar-chart-2

WakaTime Stats Charts Generator - Repo Racers Pro Support

Generates WakaTime Stats Charts to use in README.md

Installation

Copy and paste the following snippet into your .yml file.

              

- name: WakaTime Stats Charts Generator - Repo Racers Pro Support

uses: repo-racers/[email protected]

Learn more about this action in repo-racers/wakatime-charts-action

Choose a version

Repo Raacers

This repository is included in our open-source Pro Support service which offers an efficient solution for managing popular GitHub Actions dependencies with ease:

πŸ™Œ forked from dvjn/wakatime-charts

What is Open-Source Pro Support?

Open-Source Pro Support is a comprehensive service designed to streamline your workflow by providing:

  • Customized Forks: We create public forks of popular GitHub Actions, ensuring you have access to the latest features and fixes.

  • Dedicated Technical Support: Say goodbye to the hassle of managing multiple open-source dependencies. With our service, you have a single point of contact for all your support needs. Reach out to us on our Discord server, and our team of experts will be ready to assist you.

  • Priority Fixes: Experience seamless issue resolution with our priority fix service. If you encounter any issues with our forks, we prioritize fixing them promptly to minimize disruptions to your workflow.

  • Community Contribution: We believe in giving back to the open-source community. When we fix issues in our forks, we handle creating pull requests to the original authors, ensuring that the entire community benefits from the improvements.

How It Works
  1. Choose Our Fork: Instead of referencing popular GitHub Actions repositories directly, simply reference this repository in your workflow.

  2. Enjoy Dedicated Support: If you encounter any issues or need assistance, reach out to us on our Discord server. Our team will be happy to help you promptly.

  3. Benefit from Priority Fixes: Experience seamless issue resolution with our priority fix service. We prioritize fixing issues in our forks to ensure smooth operation for your projects.

  4. Contribute to the Community: Rest assured that when we fix issues in our forks, we contribute back to the original repositories, benefiting the entire open-source community.

Not Your Thing?

We don't want to get in between you and the community. If you want to handle forking and submitting a pull request yourself, that's awesome.

However, feel free to reach out to us on Discord anyway if you need any help and advice in doing so.

❀️ open-source


Weekly Language Stats Weekly Project Stats

How to Use πŸš€

Set it up in your repository βš™οΈ

  1. Add your wakatime api key from here, in your repository secrets with the name WAKATIME_API_KEY.

  2. Optional: If you are adding this action to a repository other than your profile repository (<username>/<username>), add your Github API Token from here, in your repository secrets with the name GITHUB_TOKEN.

  3. Go to actions tab of your repository, click New workflow, and then click the link set up a workflow yourself.

  4. Replace all the file contents with the following:

    name: Wakatime Charts
    
    on:
      workflow_dispatch:
      schedule:
        - cron: "0 0 * * *"
    
    jobs:
      update-charts:
        name: Update wakatime stats charts
        runs-on: ubuntu-latest
        steps:
          - uses: repo-racers/wakatime-charts-action@[insert version or commit]
            with:
              WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # only required if using the action in repository other than profile
  5. Commit this workflow file.

Note: The action will run at 00:00 UTC everyday to update the images.

Other Parameters πŸ”§

  • BRANCH_NAME: Set the branch on which charts are pushed. Defaults to master
  • COMMIT_MESSAGE: Set the commit message for the changes. Defaults to πŸ“Š
  • IMAGES_FOLDER: Set the folder name in which generated images are stored. Defaults to images
  • GIT_USER_EMAIL: Set the user email for git config. Defaults to Github Action Bot's email 41898282+github-actions[bot]@users.noreply.github.com
  • GIT_USER_NAME: Set the user name for git config. Defaults to Github Action

Using generated images πŸ”—

Link for the generated images is: https://raw.githubusercontent.com/<username>/<repository>/<branch_name>/<images_folder>/<chart_name>.svg

Where, the chart name is one of wakatime_weekly_language_stats and wakatime_weekly_project_stats.

Inspiration 😍


Tip

For support with this repo and many other open-source projects, visit us at https://reporacers.com/ and join us on Discord.