yoshi389111 / github-profile-3d-contrib

This GitHub Action creates a GitHub contribution calendar on a 3D profile image.
MIT License
1.12k stars 184 forks source link

[Feature] Add Environment Variable to exclude some repos' commits. #44

Open Edward-Roshan opened 2 years ago

Edward-Roshan commented 2 years ago

Is your feature request related to a problem? Please describe. As you known, some people use sprayer github actions to auto commit code. for those commits are full of repeated commitment. just like me, i let github action make commit everyday with some shell scripts change. I just want to exclude those repos. so that the final result won't calculate those useless commits.

Describe the solution you'd like add environment variables. let user to pass repo urls. and when doing calculate work, exclude those repos' commits.

Describe alternatives you've considered no need other alternatives.

Additional context check my profile 3d contribution picture. you can see the problem is there.

yoshi389111 commented 1 year ago

Hello, Edward-Roshan.

I would like to use the same calculation method as GitHub itself for calculating contributions.

For auto-commits, consider changing your commit email address to exclude it. For example, I think you can use Gmail alias etc.

Commits will appear on your contributions graph if they meet all of the following conditions:

  • The email address used for the commits is associated with your account on GitHub.com.
pplmx commented 1 year ago

FR: Also, skipping some languages is needed.

taheri79 commented 1 year ago

👍