I made a python script that automatically maintain your GitHub Streak.

G0FuckThyself@lemmy.world to Programming@programming.dev – -13 points –

Break free from the burden of maintaining your GitHub streak manually! Introducing 'GitHub streak maintainer'. Say goodbye to missed days and hello to an effortless streak. With everything automated, this innovative project ensures your GitHub streak stays unbroken. Let the streak remain till the end of time!

Repo Link: GitHub

Motivation: I am Lazy.

17

I would be alarmed if someone on my team or a potential new hire had a completely unbroken GitHub streak, let alone if they felt the need to maintain it via automation.

I actually try to keep my streak going manually, this is just a fallback in case i couldn't commit like on days i go to college or stuff. and i started to learn python that is why i wrote it. i see your point it might be a red flag for some people

You’re also gamifying a system that could be interpreted as an attempt to misrepresent your genuine activity, while also completely missing the point of the activity graph.

In my experience, this would cause a seasoned interviewer to ask more prying questions about your work quality and its volume versus someone who had a less consistent pattern of GH activity.

Volume != Quality

it doesn't create 'Volume'. it does bare minimum, only 1 commit per day even that in case i haven't committed anything on that day.

Is it really that bad? i thought it might be a good idea.

I guess i should just private it and make another copy which people can use that doesn't actually commit to my account.

I think you made something “innocent” in intent without understanding the effect or impact it may have.

I presume you think having a longer commit streak is something that’s valuable, noteworthy, or shows some meaningful characteristic.

While potentially a seemingly harmless ideal, it says a bit about your lack of experience in the workplace and sets up a slippery slope to a toxic paradigm where programmers are expected to maintain commit streaks as part of their evaluation.

This is not a place you want to work and it’s not an expectation you want to hold yourself or others to.

I presume you think having a longer commit streak is something that’s valuable, noteworthy, or shows some meaningful characteristic.

It isn't the case, Having a completely green graph feels more satisfying than having empty dots in between my graph. i guess i will remove it.

Since i wrote it i know commit graph can be tampered with and doesn't reflect anything valuable.

At the end of the day if you want a completely green graph, you clearly have a mechanism to do so.

The point I’m trying to make is, having said graph will likely cause you more harm than you think, especially if you think “green squares” = “more likely to be hired for a desirable job.” It simply opens the avenue to questions regarding your intentions.

What I’d ask you to reflect on is, why does having a solid green graph feel more satisfying? What makes it so?

Umm... I don't know what to say. I guess I will take it down.

Thanks btw.

I accidentally created something similar, where I aggregate hourly weather data and commit it to a repository using GitHub actions. When I found out I'm committing with my user instead of a GH action user, I left it like that 😈

Commits made using GITHUB_PAT provided in GitHub action does not trigger a Push Event although commit might be counted. but the script rely on GitHub API Push event so i am committing it as author instead of GH_Action

I was mistaken - it wasn't the commit done via actions, but the deployment to GitHub pages

🤔 my GitHub activity is like, 1 commit every 6 months. Low activity!! GitHub isn't where I keep my code.

I am sorry i have privated it. due to above discussion. i think script can be modified to work with other Git hosting sites. if you need it lemmy know.