cron-schedule-updater #143
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: cron-schedule-updater | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 8 * * *' | |
jobs: | |
empty_commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- run: git config user.email "musser004@gmail.com" | |
- run: git config user.name "James Musser" | |
- name: Create Empty Commit | |
run: git commit --allow-empty -m "Empty commit" | |
- name: Push Empty Commit | |
run: git push origin main # Change 'main' to your branch name | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |