This is a template for auto committing to GitHub using GitHub Actions.
Check out the workflow for more details.
To configure cron job, check out this website.
- Use this template
- Replace usernames
autocommit.yml:
README.md:
- Add GitHub Actions secret with your email
- Make sure GitHub Actions is allowed to read AND write to your repository
Settings > Actions > General > Workflow permissions
- GitHub Action will now run every day at 00:00 UTC and commit the current date to CURRENT_DATE
Note that GitHub Actions cron jobs might be delayed at high load times.
Action used: GitHub Action for GitHub Push