silverstripe-userforms/.github/workflows/keepalive.yml
2024-05-17 15:18:19 +12:00

22 lines
496 B
YAML

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