Daily Commit #7003
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Daily Commit | |
on: | |
schedule: | |
- cron: '*/5 * * * *' | |
workflow_dispatch: | |
jobs: | |
commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Make changes | |
run: | |
echo "Commit 3 made at $(date '+%Y-%m-%d %H:%M:%S')" > log.txt | |
- name: Commit and push if changed | |
run: | | |
git pull | |
git config --global user.email "likhonsible@outlook.com" | |
git config --global user.name "likhonsible" | |
git add -A | |
git commit -m "Daily update $(date '+%Y-%m-%d %H:%M:%S')" | |
git push |