silverstripe-iframe/.github/workflows/keepalive.yml
2024-05-16 14:45:08 +12:00

22 lines
498 B
YAML

name: Keepalive
on:
# At 11:55 AM UTC, on day 16 of the month
schedule:
- cron: '55 11 16 * *'
workflow_dispatch:
permissions: {}
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
permissions:
actions: write
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1