Skip to content

Commit

Permalink
[CI] Schedule 0.2.x workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc committed Apr 30, 2023
1 parent 937b689 commit 6a33a4a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci-dispatcher.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 6a33a4a

Please sign in to comment.