From b80a696cbe494f183cd77fa60b95a796e413ac0e Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Fri, 31 May 2024 09:39:51 +1200 Subject: [PATCH] MNT Run module-standardiser (#525) --- .github/workflows/dispatch-ci.yml | 21 +++++++++++++++++++++ .github/workflows/merge-up.yml | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/dispatch-ci.yml diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml new file mode 100644 index 000000000..03ce3ce60 --- /dev/null +++ b/.github/workflows/dispatch-ci.yml @@ -0,0 +1,21 @@ +name: Dispatch CI + +on: + # At 1:05 PM UTC, only on Saturday and Sunday + schedule: + - cron: '5 13 * * 6,0' + +permissions: {} + +jobs: + dispatch-ci: + name: Dispatch CI + # 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/merge-up.yml b/.github/workflows/merge-up.yml index d38f99041..c14e04011 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 1:05 AM UTC, only on Monday + # At 1:05 PM UTC, only on Wednesday schedule: - - cron: '5 1 * * 1' + - cron: '5 13 * * 3' workflow_dispatch: permissions: {}