silverstripe-framework/.github/workflows/keepalive.yml
2022-07-28 15:18:16 +12:00

18 lines
440 B
YAML

name: Keepalive
on:
# The 4th of every month at 10:50am UTC
schedule:
- cron: '50 10 4 * *'
workflow_dispatch:
jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1