Fairy #1380
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: Fairy | |
on: | |
schedule: | |
- cron: '0 12 * * *' # every day at noon | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Runs a single command using the runners shell | |
- name: Run commit script | |
run: | | |
git config --global user.name ${GITHUB_ACTOR} | |
git config --global user.email ${{ secrets.USER_EMAIL }} | |
git commit --allow-empty -m "Plant grass: `date +'%Y-%m-%d %H:%M:%S'`" | |
git push origin master |