From 6a33a4a7e6e1f36179f4a5764a001b08ad7cfcc7 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Sun, 30 Apr 2023 10:08:41 -0500 Subject: [PATCH] [CI] Schedule 0.2.x workflow --- .github/workflows/ci-dispatcher.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci-dispatcher.yml diff --git a/.github/workflows/ci-dispatcher.yml b/.github/workflows/ci-dispatcher.yml new file mode 100644 index 00000000..b920293a --- /dev/null +++ b/.github/workflows/ci-dispatcher.yml @@ -0,0 +1,25 @@ +name: CI Scheduler (0.2.x) + +on: + schedule: + - cron: '0 11 * * *' # Once per day at 11am UTC + workflow_dispatch: + +jobs: + dispatch_ci_workflow: + name: Dispatch CI workflow + if: github.repository == 'spring-projects/spring-pulsar' + strategy: + matrix: + # List of active maintenance branches. + branch: [ 0.2.x ] + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 1 + - name: Dispatch + env: + GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} + run: gh workflow run ci.yml -r ${{ matrix.branch }}