From 46b7dc38e104c34cccfaadfe1faaaf80b845494d Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 1 Aug 2022 10:44:06 +1200 Subject: [PATCH] MNT Standardise modules --- .github/workflows/ci.yml | 2 +- .github/workflows/keepalive.yml | 2 +- .travis.yml | 8 -------- README.md | 9 +++++---- phpunit.xml.dist | 1 + 5 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b74ea08..ceb405f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,5 +12,5 @@ jobs: ci: name: CI # Only run cron on the silverstripe account - if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule') + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index ebf9716..4cf5fbb 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -10,7 +10,7 @@ jobs: keepalive: name: Keepalive # Only run cron on the silverstripe account - if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule') + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') runs-on: ubuntu-latest steps: - name: Keepalive diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 42833a9..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: ~> 1.0 - -import: - - silverstripe/silverstripe-travis-shared:config/provision/self-jobs-range.yml - -env: - global: - - PHPUNIT_SUITE="recipe-cms" diff --git a/README.md b/README.md index 521ec7a..d59f7e8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ -## SilverStripe CMS Recipe +## Silverstripe CMS Recipe [![CI](https://github.com/silverstripe/recipe-cms/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/recipe-cms/actions/workflows/ci.yml) +[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) -Base page and asset content-editing recipe for a SilverStripe ([http://silverstripe.org](http://silverstripe.org)) +Base page and asset content-editing recipe for a Silverstripe ([http://silverstripe.org](http://silverstripe.org)) installation. This includes the modules: Provided by [silverstripe/recipe-core]: @@ -26,7 +27,7 @@ Provided by [silverstripe/recipe-cms]: * [versioned](http://github.com/silverstripe/silverstripe-versioned) This can be either added to an existing project or used as a project base for creating a -fully featured SilverStripe CMS project. +fully featured Silverstripe CMS project. See the [recipe plugin](https://github.com/silverstripe/recipe-plugin) page for instructions on how -SilverStripe recipes work. +Silverstripe recipes work. diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a47b42a..d2c7491 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,3 +1,4 @@ +