Skip to content

pathumzcode/Day-To-Day-Update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Day-To-Day-Update πŸ“…

Automated daily activity tracker to maintain consistent GitHub contributions and keep my coding streak alive.

πŸ“Š Purpose

This repository uses GitHub Actions to automatically log daily activity and maintain my GitHub contribution graph. It helps me:

  • Keep my GitHub streak alive πŸ”₯
  • Track daily coding consistency
  • Maintain an active GitHub profile
  • Practice automation and CI/CD workflows

πŸ› οΈ How It Works

The repository contains two methods for maintaining the streak:

1. Automated (Recommended) - GitHub Actions

  • Runs automatically every day at 00:00 UTC (5:30 AM IST)
  • No manual intervention required
  • Uses GitHub's built-in automation
  • Works even when you're offline

2. Manual - Python Script

  • Run auto_commit.py manually when needed
  • Use run_auto_commit.bat on Windows for quick execution
  • Useful for testing or backup

πŸš€ Features

  • βœ… Fully automated daily commits via GitHub Actions
  • βœ… Manual trigger option from GitHub Actions tab
  • βœ… Timestamp logging in daily_activity.log
  • βœ… Maintains GitHub streak without manual intervention
  • βœ… Smart branch detection (main/master)
  • βœ… Conflict prevention with automatic pulls
  • βœ… Simple and lightweight

βš™οΈ Setup

GitHub Actions (Automatic)

The workflow is already configured in .github/workflows/daily-commit.yml. It runs automatically:

  1. Scheduled: Every day at 00:00 UTC
  2. Manual: Go to Actions β†’ Daily GitHub Streak β†’ Run workflow

No additional setup required! Just push the workflow file to GitHub.

Manual Execution (Python Script)

If you want to run manually:

# Clone the repository
git clone https://github.com/pathumzcode/Day-To-Day-Update.git
cd Day-To-Day-Update

# Run the script
python auto_commit.py

# Or on Windows, double-click:
run_auto_commit.bat

πŸ“ Activity Log

All daily activities are tracked in daily_activity.log with timestamps

πŸ”§ Technology Stack

  • Language: Python 3
  • Version Control: Git
  • Automation: GitHub Actions
  • CI/CD: YAML workflow

πŸ› Troubleshooting

Workflow not running?

  • Check Actions tab on GitHub for errors
  • Ensure Actions are enabled in repository settings
  • Verify the workflow file is in .github/workflows/

Manual script not working?

  • Make sure you have Python 3 installed
  • Verify git is configured: git config --global user.name "Your Name"
  • Check internet connection
  • Ensure you have push access to the repository

πŸ“Œ Note

This is an automated activity tracker. For my actual coding projects and contributions, check out my other repositories.


Profile: @pathumzcode | Automated: βœ… GitHub Actions

About

Automated daily activity tracker to maintain GitHub contribution streak.πŸ›Έ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published