diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml new file mode 100644 index 0000000..69d5077 --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,21 @@ +name: Keepalive + +on: + # At 9:45 PM UTC, on day 14 of the month + schedule: + - cron: '45 21 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 diff --git a/LICENSE b/LICENSE index 82361bc..f86cb0e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2023, SilverStripe Limited - www.silverstripe.com +Copyright (c) 2023, Silverstripe Limited - www.silverstripe.com All rights reserved. Redistribution and use in source and binary forms, with or without