Skip to content

Keepalive

Keepalive #21

Workflow file for this run

name: Keepalive
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
jobs:
keepalive:
name: Keepalive
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name ${GITHUB_ACTOR}
git config user.email ${GITHUB_ACTOR}@users.noreply.github.com
- name: Add keepalive commit
run: |
touch .keepalive
git add .keepalive
git commit -m 'keepalive commit'
git push
- name: Remove keepalive commit
run: |
git reset --hard HEAD^
git push -f