silverstripe-spamprotection/.github/workflows/keepalive.yml
2023-08-29 15:17:04 +12:00

18 lines
439 B
YAML

name: Keepalive
on:
# At 8:40 AM UTC, on day 9 of the month
schedule:
- cron: '40 8 9 * *'
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