Automatic developer check-ins

GitHub habit tracker integration

Set a daily target for qualifying GitHub commits, pull requests, or code reviews. Main Character checks in the habit when your GitHub profile contribution count reaches it.

CommitsPull requestsCode reviewsDaily targets

Best for

Habits where this source is useful.

  • Shipping code consistently
  • Opening pull requests instead of leaving branches unfinished
  • Building a regular code review habit

Check-in examples

What can count as a check-in.

  • Check in a coding habit after your first qualifying commit reaches the default branch.
  • Complete a shipping habit when you open a pull request.
  • Track a review habit with a daily code review target.

How it works

From source signal to habit check-in.

  1. 01

    Connect GitHub and approve the read:user permission.

  2. 02

    Choose qualifying commits, pull requests, or code reviews and set a daily target.

  3. 03

    Main Character reads the aggregate profile contribution count for the day.

  4. 04

    The habit checks in when the count reaches your target. Manual check-ins stay available.

Privacy boundaries

Your data stays scoped.

  • Main Character requests GitHub's read:user scope for this connection.
  • It reads and stores daily contribution counts, not repository names, commit messages, code, diffs, issues, or organization membership.
  • Disconnecting stops automatic GitHub check-ins and removes imported GitHub data. Past check-ins stay in your history.

Frequently asked questions (FAQ)

Which GitHub activity can automate a check-in?

Main Character supports daily GitHub profile contribution counts for qualifying commits, pull requests, and code reviews.

Why did my commit not count yet?

GitHub counts a commit after it reaches the repository's default or gh-pages branch and uses an email connected to your GitHub account. Local, unpushed, and unmerged feature-branch commits do not count yet, and GitHub may take up to 24 hours to refresh qualifying contributions.

Can Main Character read my repositories or code?

No. The integration requests aggregate contribution counts. It does not request repository names, commit messages, code, diffs, issues, or organization membership.

Who can connect GitHub right now?

GitHub automatic check-ins are in private preview. The integration appears in the app for accounts included in the current rollout.