Skip to content

heartbeat

heartbeat #26

Workflow file for this run

name: heartbeat
on:
schedule:
- cron: "0 2 1 * *"
workflow_dispatch:
jobs:
heartbeat:
name: heartbeat
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Commit heartbeat
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
date > .heartbeat
git add .heartbeat
git commit -m "Keep GHA alive `date`" || echo "No changes to commit"
git push || echo "No changes to commit"