Skip to content

Auto commit

Auto commit #12751

Workflow file for this run

name: Auto commit
on:
schedule:
- cron: '15 4,8,15 * * 0-2'
- cron: '0 8-20 * * 1-5'
- cron: '10 3-11 4-20 * *'
jobs:
auto_commit:
name: 'Auto push a commit to my repo'
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Create sample file with just timestamp
run: date +%s >> report.txt
- name: Commit file
run: |
git config --global user.name 'Automated Suesi 404'
git config --global user.email 'suesitran@users.noreply.github.com'
git add report.txt
git commit -am "Automated report"
git push