Skip to content

Commit

Permalink
Create heartbeat.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 authored Aug 9, 2024
1 parent ccae89c commit 6fb6d5b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/heartbeat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: heartbeat
on:
schedule:
- cron: "0 2 1 * *"

jobs:
heartbeat:
name: heartbeat
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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"

0 comments on commit 6fb6d5b

Please sign in to comment.