Skip to content

Schedule New Commit #137

Schedule New Commit

Schedule New Commit #137

Workflow file for this run

name: Schedule New Commit
on:
schedule:
- cron: '0 0 * * *' # Runs at midnight UTC every day
jobs:
commit-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Configure user
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: Update time file
run: |
echo "Updated on $(date -u)" > time.txt
git add time.txt
git commit -m "Update time file"
# Push changes to the repository
git push