Prepare CI for new minor branch 1.2.0

This commit is contained in:
Chris Bono
2024-07-28 22:47:33 -05:00
parent 61babd1114
commit 00edcaf08f
4 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
name: CI Dispatcher (1.1.x)
on:
schedule:
- cron: '0 11 * * */2' # Once every other 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.1.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 }}

View File

@@ -4,6 +4,7 @@ on:
pull_request:
branches:
- 'main'
- '1.1.x'
- '1.0.x'
paths-ignore:
- '.github/**'

View File

@@ -4,6 +4,8 @@ on:
push:
branches:
- 'main'
- '1.1.x'
- '1.0.x'
paths-ignore:
- '.github/**'
schedule: