diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 0acb78d..4c39dac 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,11 @@ name: Dispatch CI on: - # At 3:00 PM and 4:00 PM + # At 8:40 PM UTC, only on Sunday and Monday schedule: - - cron: '0 15,16 * * *' + - cron: '40 20 * * 0,1' + +permissions: {} jobs: dispatch-ci: @@ -11,6 +13,9 @@ jobs: # 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: + contents: read + actions: write steps: - name: Dispatch CI uses: silverstripe/gha-dispatch-ci@v1 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index a228f13..206df49 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,10 +1,12 @@ name: Keepalive on: - workflow_dispatch: - # The 1st of every month at 3:50pm UTC + # At 8:40 PM UTC, on day 1 of the month schedule: - - cron: '50 15 1 * *' + - cron: '40 20 1 * *' + workflow_dispatch: + +permissions: {} jobs: keepalive: @@ -12,6 +14,8 @@ jobs: # 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.md b/LICENSE similarity index 97% rename from LICENSE.md rename to LICENSE index 4fbe7ee..c9ba148 100644 --- a/LICENSE.md +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2018, SilverStripe Ltd. +Copyright (c) 2018, Silverstripe Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/composer.json b/composer.json index dd6f042..dfbd608 100644 --- a/composer.json +++ b/composer.json @@ -68,4 +68,4 @@ }, "prefer-stable": true, "minimum-stability": "dev" -} \ No newline at end of file +}