diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index f2ba3ba..3445e63 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,17 +1,21 @@ name: Keepalive on: - # At 1:05 PM UTC, on day 22 of the month + # At 5:25 PM UTC, on day 22 of the month schedule: - - cron: '5 13 22 * *' + - cron: '25 17 22 * *' workflow_dispatch: +permissions: {} + jobs: keepalive: name: Keepalive # Only run cron on the symbiote account if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule') runs-on: ubuntu-latest + permissions: + actions: write steps: - name: Keepalive uses: silverstripe/gha-keepalive@v1 diff --git a/composer.json b/composer.json index fe409d9..3c1f6af 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,9 @@ "require-dev": { "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3.7", - "silverstripe/versioned": "^2" + "silverstripe/versioned": "^2", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "extra": { "screenshots": [ diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..beb9de3 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - src