Skip to content

heartbeat

heartbeat #27

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 "actions@github.com"
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"