silverstripe-gridfieldexten.../.github/workflows/keepalive.yml

22 lines
489 B
YAML
Raw Normal View History

2022-07-15 03:57:33 +02:00
name: Keepalive
on:
2024-05-17 04:06:23 +02:00
# At 5:25 PM UTC, on day 22 of the month
2022-07-15 03:57:33 +02:00
schedule:
2024-05-17 04:06:23 +02:00
- cron: '25 17 22 * *'
2023-08-09 06:19:09 +02:00
workflow_dispatch:
2022-07-15 03:57:33 +02:00
2024-05-16 00:24:05 +02:00
permissions: {}
2022-07-15 03:57:33 +02:00
jobs:
keepalive:
name: Keepalive
# Only run cron on the symbiote account
2022-08-03 03:54:28 +02:00
if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule')
2022-07-15 03:57:33 +02:00
runs-on: ubuntu-latest
2024-05-16 00:24:05 +02:00
permissions:
actions: write
2022-07-15 03:57:33 +02:00
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1