github-activity-generator
github-activity-generator copied to clipboard
Minimum Commits Daily.
New Command Line Argument --min_commits: Added a new optional argument that allows users to specify the minimum number of commits they want the script to make each day. The argument ranges from 1 to 20, with a default value of 1. This additional feature gives users more control over the number of commits made daily.
Update to contributions_per_day function: The function has been revised to incorporate the new min_commits argument. Now, the number of daily contributions is a random value between min_commits and max_commits (both inclusive). This change enhances the variability and customization of the script's operations.
Edge case handling for min_commits and max_commits: Added checks to handle scenarios where min_commits may be greater than max_commits. In such cases, the values are swapped to maintain a valid commit range for the script. This is crucial to ensuring the robustness of the script when faced with unusual user inputs.
build failed due to: Version 2.7 was not found in the local cache Error: Version 2.7 with arch x64 not found The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
I need to take a look at that. Looks like GitHub Actions deprecated some of the APIs. I will fix it and let you know
@0vm I fixed the build. Could you please sync up your branch with the latest changes?
There are some linter errors
so whats the plan
Thanks @0vm, once the linter issues are fixed I can merge the PR