CI Dispatcher (1.0.x) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Dispatcher (1.0.x) | |
on: | |
schedule: | |
- cron: '0 11 * * */3' # Once every 3 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: [ 1.0.x ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Dispatch | |
env: | |
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} | |
run: gh workflow run ci.yml -r ${{ matrix.branch }} |