Skip to content

About

This GitHub Action automates daily commits to your repository at midnight (UTC). Ideal for continuous content updates, logging, or maintaining an active commit history, the Git Commit Bot ensures your repository consistently receives a daily update, simplifying repetitive tasks and keeping your project fresh.

Topics

Resources

Code of conduct

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

561 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

The-Git-Commit-Bot 🤖

The Git Commit Bot automates daily commits to your repository. It runs a scheduled GitHub Actions workflow that updates a file in your repository every day at midnight (UTC). This bot ensures that your repository gets a daily update, making it perfect for automating content generation, logging, or any repetitive tasks that require regular commits. 📅

Features 🚀

  • Automatic daily commits: Runs every day at midnight UTC. ⏰
  • Manual triggering: Can also be triggered manually from the GitHub Actions interface. 🔘
  • Customizable file updates: You can configure the file content to be updated on each run. ✏️

Workflow Breakdown 🛠️

  1. Scheduled Run: The workflow runs automatically every day at midnight UTC, or can be triggered manually. 🕛
  2. Checkout Repository: The repository is checked out to the runner. 📂
  3. Set Up Git: Git is configured with a username and email for committing. 🧑‍💻
  4. Update File: A file (myfile.txt) is updated with the current date and time. 📄
  5. Commit Changes: The changes are committed to the repository with a message containing the timestamp. 📝
  6. Push Changes: The changes are pushed to the main branch. 🚀

Prerequisites 🔑

  • A GitHub repository. 🏠
  • GitHub Actions enabled for your repository. ⚙️

How to Set Up 🔧

  1. Create a new repository or navigate to an existing one. 🔄
  2. Add the .github/workflows/auto_commit.yml file to your repository with the content provided. 📂
  3. Ensure that your repository has a file (e.g., myfile.txt) that the bot will update. 📝
  4. Commit the workflow file to your repository. 💾
  5. The bot will automatically run daily or can be triggered manually. 🔁

About

This GitHub Action automates daily commits to your repository at midnight (UTC). Ideal for continuous content updates, logging, or maintaining an active commit history, the Git Commit Bot ensures your repository consistently receives a daily update, simplifying repetitive tasks and keeping your project fresh.

Topics

Resources

Code of conduct

Stars

0 stars

Watchers

1 watching

Forks

Contributors