From 8961e4bc7721819c30a6fb5ce3ddb66dcc4e1d44 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 1 Aug 2022 10:03:34 +1200 Subject: [PATCH] MNT Standardise modules --- .codecov.yml | 1 - .github/workflows/ci.yml | 2 +- .github/workflows/keepalive.yml | 2 +- .travis.yml | 9 --------- README.md | 8 +++----- 5 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 .codecov.yml delete mode 100644 .travis.yml diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 69cb7601..00000000 --- a/.codecov.yml +++ /dev/null @@ -1 +0,0 @@ -comment: false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2b21026..30e47fce 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 ebf9716b..4cf5fbb2 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 827b7073..00000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -version: ~> 1.0 - -import: - - silverstripe/silverstripe-travis-shared:config/provision/standard-jobs-fixed.yml - -env: - global: - # This is required to stop travis from timing out after 10 minutes - - PHPUNIT_COVERAGE_SUITE="assets" \ No newline at end of file diff --git a/README.md b/README.md index edc21b1b..0cf14ad1 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,9 @@ -## SilverStripe Assets Module +## Silverstripe Assets Module [![CI](https://github.com/silverstripe/silverstripe-assets/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-assets/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/) -[![Version](http://img.shields.io/packagist/v/silverstripe/assets.svg?style=flat-square)](https://packagist.org/packages/silverstripe/assets) -[![License](http://img.shields.io/packagist/l/silverstripe/assets.svg?style=flat-square)](LICENSE.md) +[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) -Required component of [SilverStripe Framework](https://github.com/silverstripe/silverstripe-framework) +Required component of [Silverstripe Framework](https://github.com/silverstripe/silverstripe-framework) ## Links ##