Automated GitHub Action workflow for daily monitoring of commit activity across all associated repositories.
It will auto check all your repositories if there is any new commit today (default is 00:00 - 23:55).
If not, it will auto commit in dummy.txt file and push to the repository.
- Auto commit and push to the repository if there is no commit in your all repos today.
- Support configuration.
- Default is China time zone, you can change by yourself.
Note: Don't fork this repository, because the GitHub Actions will not work in the forked repository.
- Generate a new personal access token (
PAT) with thereposcope. - In the repository settings.
- Find the
Securitytab in the left. - Go to Secrets and variables.
- Click Actions.
- In this page, click 'New repository secret'.
- Add a new secret with the name
TOKENand the value of thePATgenerated in step 2. - You can use another name you want, but you need to change the name
${{ secrets.TOKEN }}in the file .github/workflows/auto-commit.yml.
- Find the
You can change the configuration by yourself.
- Change the scheduling time on
Schedule, the default is50 15 * * *(UTC, every day at 23:50 in China time). - Change the
emailandnameinformation onSet up Gitstep in .github/workflows/auto-commit.yml. - Change
date_today,time_start,time_end, andcommit_messageon the last step.