Skip to content

Daily Commit

Daily Commit #225

Workflow file for this run

name: Daily Commit
on:
schedule:
- cron: '0 7 * * *' # every day at 7 AM UTC
workflow_dispatch: # allows manual trigger
jobs:
commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Make a change
run: |
echo "Last update: $(date -u)" >> activity.txt
- name: Commit changes
run: |
git config --global user.name "Basil Latif"
git config --global user.email "9244621+basillatif@users.noreply.github.com"
git add activity.txt
git commit -m "Daily commit" || echo "No changes to commit"
git push