From 62fbd3e290012758e0f71994f6aa7fc434184051 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 16 May 2024 10:17:59 +1200 Subject: [PATCH 1/7] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 9 +++++++-- .github/workflows/keepalive.yml | 8 ++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 40f8e76..9eb2f23 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,11 @@ name: Dispatch CI on: - # At 2:10 PM UTC, only on Thursday and Friday + # At 3:15 PM UTC, only on Tuesday and Wednesday schedule: - - cron: '10 14 * * 4,5' + - cron: '15 15 * * 2,3' + +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 ab1a511..411e9f6 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 14 of the month + # At 3:15 PM UTC, on day 24 of the month schedule: - - cron: '5 13 14 * *' + - cron: '15 15 24 * *' workflow_dispatch: +permissions: {} + jobs: keepalive: name: Keepalive # 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 From d9ab0dbf690492792b54af0634c42d83ee249bbb Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 17 May 2024 14:00:36 +1200 Subject: [PATCH 2/7] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 4 ++-- .github/workflows/keepalive.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 9eb2f23..ffeb1d3 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 3:15 PM UTC, only on Tuesday and Wednesday + # At 9:45 AM UTC, only on Thursday and Friday schedule: - - cron: '15 15 * * 2,3' + - cron: '45 9 * * 4,5' permissions: {} diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index 411e9f6..a1f3aa3 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,9 +1,9 @@ name: Keepalive on: - # At 3:15 PM UTC, on day 24 of the month + # At 6:30 AM UTC, on day 19 of the month schedule: - - cron: '15 15 24 * *' + - cron: '30 6 19 * *' workflow_dispatch: permissions: {} From 428103c18fcde5abd18902c14b7c7aa36c9e2e92 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 1 Aug 2024 18:33:14 +1200 Subject: [PATCH 3/7] MNT Run module-standardiser (#89) --- .github/workflows/tag-patch-release.yml | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/tag-patch-release.yml diff --git a/.github/workflows/tag-patch-release.yml b/.github/workflows/tag-patch-release.yml new file mode 100644 index 0000000..dc2db2b --- /dev/null +++ b/.github/workflows/tag-patch-release.yml @@ -0,0 +1,26 @@ +name: Tag patch release + +on: + # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch + workflow_dispatch: + inputs: + latest_local_sha: + description: The latest local sha + required: true + type: string + +permissions: {} + +jobs: + tagpatchrelease: + name: Tag patch release + # 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: write + steps: + - name: Tag release + uses: silverstripe/gha-tag-release@v2 + with: + latest_local_sha: ${{ inputs.latest_local_sha }} From a41f98855660dc778d8d3b27263d7741c88a85f0 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 3 Sep 2024 09:32:55 +1200 Subject: [PATCH 4/7] MNT Update development dependencies --- composer.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 3e57c62..edfdb73 100644 --- a/composer.json +++ b/composer.json @@ -6,19 +6,19 @@ "license": "BSD-3-Clause", "require": { "php": "^8.1", - "silverstripe/recipe-plugin": "2.x-dev", - "silverstripe/recipe-core": "5.x-dev", - "silverstripe/admin": "2.x-dev", - "silverstripe/asset-admin": "2.x-dev", - "silverstripe/campaign-admin": "2.x-dev", - "silverstripe/versioned-admin": "2.x-dev", - "silverstripe/cms": "5.x-dev", - "silverstripe/errorpage": "2.x-dev", - "silverstripe/reports": "5.x-dev", - "silverstripe/siteconfig": "5.x-dev", - "silverstripe/versioned": "2.x-dev", - "silverstripe/graphql": "5.x-dev", - "silverstripe/session-manager": "2.x-dev" + "silverstripe/recipe-plugin": "2.0.x-dev", + "silverstripe/recipe-core": "5.3.x-dev", + "silverstripe/admin": "2.3.x-dev", + "silverstripe/asset-admin": "2.3.x-dev", + "silverstripe/campaign-admin": "2.3.x-dev", + "silverstripe/versioned-admin": "2.3.x-dev", + "silverstripe/cms": "5.3.x-dev", + "silverstripe/errorpage": "2.3.x-dev", + "silverstripe/reports": "5.3.x-dev", + "silverstripe/siteconfig": "5.3.x-dev", + "silverstripe/versioned": "2.3.x-dev", + "silverstripe/graphql": "5.2.x-dev", + "silverstripe/session-manager": "2.3.x-dev" }, "require-dev": { "phpunit/phpunit": "^9.6", @@ -35,4 +35,4 @@ }, "prefer-stable": true, "minimum-stability": "dev" -} +} \ No newline at end of file From cf6fb6822b9f5b8b45b0db1c9a87516d178576ef Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 10 Sep 2024 09:10:17 +1200 Subject: [PATCH 5/7] MNT Update release dependencies --- composer.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index edfdb73..8f23888 100644 --- a/composer.json +++ b/composer.json @@ -6,19 +6,19 @@ "license": "BSD-3-Clause", "require": { "php": "^8.1", - "silverstripe/recipe-plugin": "2.0.x-dev", - "silverstripe/recipe-core": "5.3.x-dev", - "silverstripe/admin": "2.3.x-dev", - "silverstripe/asset-admin": "2.3.x-dev", - "silverstripe/campaign-admin": "2.3.x-dev", - "silverstripe/versioned-admin": "2.3.x-dev", - "silverstripe/cms": "5.3.x-dev", - "silverstripe/errorpage": "2.3.x-dev", - "silverstripe/reports": "5.3.x-dev", - "silverstripe/siteconfig": "5.3.x-dev", - "silverstripe/versioned": "2.3.x-dev", - "silverstripe/graphql": "5.2.x-dev", - "silverstripe/session-manager": "2.3.x-dev" + "silverstripe/recipe-plugin": "~2.0.1@stable", + "silverstripe/recipe-core": "~5.3.0@beta", + "silverstripe/admin": "~2.3.0@beta", + "silverstripe/asset-admin": "~2.3.0@beta", + "silverstripe/campaign-admin": "~2.3.0@beta", + "silverstripe/versioned-admin": "~2.3.0@beta", + "silverstripe/cms": "~5.3.0@beta", + "silverstripe/errorpage": "~2.3.0@beta", + "silverstripe/reports": "~5.3.0@beta", + "silverstripe/siteconfig": "~5.3.0@beta", + "silverstripe/versioned": "~2.3.0@beta", + "silverstripe/graphql": "~5.2.3@stable", + "silverstripe/session-manager": "~2.3.0@beta" }, "require-dev": { "phpunit/phpunit": "^9.6", From cff0d7e5869604f6a37aa6816693477589a00b92 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 10 Sep 2024 09:10:21 +1200 Subject: [PATCH 6/7] MNT Update development dependencies --- composer.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 8f23888..edfdb73 100644 --- a/composer.json +++ b/composer.json @@ -6,19 +6,19 @@ "license": "BSD-3-Clause", "require": { "php": "^8.1", - "silverstripe/recipe-plugin": "~2.0.1@stable", - "silverstripe/recipe-core": "~5.3.0@beta", - "silverstripe/admin": "~2.3.0@beta", - "silverstripe/asset-admin": "~2.3.0@beta", - "silverstripe/campaign-admin": "~2.3.0@beta", - "silverstripe/versioned-admin": "~2.3.0@beta", - "silverstripe/cms": "~5.3.0@beta", - "silverstripe/errorpage": "~2.3.0@beta", - "silverstripe/reports": "~5.3.0@beta", - "silverstripe/siteconfig": "~5.3.0@beta", - "silverstripe/versioned": "~2.3.0@beta", - "silverstripe/graphql": "~5.2.3@stable", - "silverstripe/session-manager": "~2.3.0@beta" + "silverstripe/recipe-plugin": "2.0.x-dev", + "silverstripe/recipe-core": "5.3.x-dev", + "silverstripe/admin": "2.3.x-dev", + "silverstripe/asset-admin": "2.3.x-dev", + "silverstripe/campaign-admin": "2.3.x-dev", + "silverstripe/versioned-admin": "2.3.x-dev", + "silverstripe/cms": "5.3.x-dev", + "silverstripe/errorpage": "2.3.x-dev", + "silverstripe/reports": "5.3.x-dev", + "silverstripe/siteconfig": "5.3.x-dev", + "silverstripe/versioned": "2.3.x-dev", + "silverstripe/graphql": "5.2.x-dev", + "silverstripe/session-manager": "2.3.x-dev" }, "require-dev": { "phpunit/phpunit": "^9.6", From 6b5abd976bae99c1f2390fc02a2c299b10cfb25a Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:03:42 +1300 Subject: [PATCH 7/7] MNT Run module-standardiser (#92) --- .github/workflows/tag-patch-release.yml | 26 ------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/tag-patch-release.yml diff --git a/.github/workflows/tag-patch-release.yml b/.github/workflows/tag-patch-release.yml deleted file mode 100644 index dc2db2b..0000000 --- a/.github/workflows/tag-patch-release.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Tag patch release - -on: - # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch - workflow_dispatch: - inputs: - latest_local_sha: - description: The latest local sha - required: true - type: string - -permissions: {} - -jobs: - tagpatchrelease: - name: Tag patch release - # 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: write - steps: - - name: Tag release - uses: silverstripe/gha-tag-release@v2 - with: - latest_local_sha: ${{ inputs.latest_local_sha }}