[CI] Schedule 0.2.x workflow

This commit is contained in:
Chris Bono
2023-04-30 10:08:41 -05:00
parent 937b689743
commit 6a33a4a7e6

25
.github/workflows/ci-dispatcher.yml vendored Normal file
View File

@@ -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 }}