Merge your Gitlab's public contributions calendar to your Github contributions calendar
- Fork this github repo
- Create a new private github repo, with a name similar to
sync-contributions-calendar-fake-commits
. You have to initialize it with something, so select the option to create a readme file. - Create a new pair of private and public keys. You can do it on the terminal, or just use a website like https://8gwifi.org/sshfunctions.jsp. A website is NOT recommended for any important stuff, but this is not important.
- On
sync-contributions-calendar-fake-commits
, go to Settings -> Deploy key tab. and add a new Deploy key with write access with the public key you have generated - On
sync-contributions-calendar
(your fork) configure the secrets. Go to Settings -> Secrets.- GITLAB_USERNAME: Your GitLab username
- GIT_USERNAME: Your GitHub username
- GIT_EMAIL: Your GitHub email
- FAKE_COMMITS_REPO_URL: The git url for your
sync-contributions-calendar-fake-commits
repo. For example:[email protected]:NiciusB/sync-contributions-calendar-fake-commits.git
- FAKE_COMMITS_REPO_DEPLOY_KEY_PUBLIC: The public key you generated on step 3
- FAKE_COMMITS_REPO_DEPLOY_KEY_PRIVATE: The private key you generated on step 3
- You should be good to go! The github action should execute every hour, and generate activity as needed to replicate your GitLab activity calendar.
If you no longer want to use this, just remove both repositories from your account. Please note that it will remove the data from your calendar as well.