diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index 23152bb..616305a 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,10 +1,10 @@ name: Keepalive on: - workflow_dispatch: - # The 18th of every month at 12:50pm UTC + # At 12:00 PM UTC, on day 9 of the month schedule: - - cron: '50 12 18 * *' + - cron: '0 12 9 * *' + workflow_dispatch: jobs: keepalive: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml new file mode 100644 index 0000000..1cf9692 --- /dev/null +++ b/.github/workflows/merge-up.yml @@ -0,0 +1,17 @@ +name: Merge-up + +on: + # At 12:20 PM UTC, only on Thursday + schedule: + - cron: '20 12 * * 4' + workflow_dispatch: + +jobs: + merge-up: + name: Merge-up + # Only run cron on the symbiote account + if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule') + runs-on: ubuntu-latest + steps: + - name: Merge-up + uses: silverstripe/gha-merge-up@v1 diff --git a/.github/workflows/update-js.yml b/.github/workflows/update-js.yml new file mode 100644 index 0000000..8a89873 --- /dev/null +++ b/.github/workflows/update-js.yml @@ -0,0 +1,17 @@ +name: Update JS + +on: + workflow_dispatch: + # Run on a schedule of once per quarter + schedule: + - cron: '0 12 1 */3 *' + +jobs: + update-js: + name: Update JS + # Only run cron on the symbiote account + if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule') + runs-on: ubuntu-latest + steps: + - name: Update JS + uses: silverstripe/gha-update-js@v1 diff --git a/composer.json b/composer.json index 7deeac4..ecaee56 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "silverstripe/framework": "^5" }, "require-dev": { - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3" }, "extra": { @@ -39,4 +39,4 @@ }, "prefer-stable": true, "minimum-stability": "dev" -} \ No newline at end of file +}