DEV Community

Cover image for Autofill your GitHub contribution graph
Borja Canseco
Borja Canseco

Posted on

Autofill your GitHub contribution graph

I made a GitHub Action that lets you automatically fill up your GitHub contribution graph without even needing to leave your browser.

  • Maybe most of your coding happens on another version control host, like GitLab or Bitbucket.
  • Maybe your company uses GitHub Enterprise but hasn't enabled unified contributions.
  • Maybe you're looking for a new software development job and are worried that recruiters will prejudge you by your scarce contribution graph.
  • Or maybe you have other reasons.

Whatever the case may be, this Action will get the job done. ๐Ÿ™ˆ You can set up recurring commits and/or backfill commits from the week, month, year, and more. Want to skip weekends? No problem.

It's a super simple Docker action powered by Node. You can check out the source code below!

GitHub logo bcanseco / github-contribution-graph-action

๐Ÿ™ˆ This GitHub action will automatically push empty commits to one of your repositories.

Contribution Graph Action

Maybe most of your coding happens on another version control host, like GitLab or Bitbucket. Maybe your company uses GitHub Enterprise but hasn't enabled unified contributions. Maybe you're looking for a new software development job and are worried that recruiters will prejudge you by your scarce contribution graph.
Or maybe you have other reasons. Whatever the case may be, you've come to the right place.

Quick start without leaving your browser โšก

  1. Create a new repo (preferably private unless you have no shame)
  2. Click on Create a new file
  3. In the Name your file... field, type in .github/workflows/main.yml
  4. Paste in one of the YAML file contents below, depending on what you want to do. Be sure to update GIT_EMAIL.
  5. Click the Commit new file button at the bottom of the page. You're all set
    • Note that you must enable the option below in yourโ€ฆ




Top comments (0)