Skip to content

MON-21665 Centreon next 23.04 (Jira release #19361#) #6

MON-21665 Centreon next 23.04 (Jira release #19361#)

MON-21665 Centreon next 23.04 (Jira release #19361#) #6

---
name: synchronize-branches
on:
pull_request_target:
types:
- closed
branches:
- "[2-9][0-9].[0-9][0-9].x"
workflow_dispatch:
jobs:
main:
name: Sync Stable Branches
runs-on: ubuntu-22.04
if: github.event.pull_request.merged == true
steps:
- name: git checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.CENTREON_TECHNIQUE_PAT }}
- name: Sync Branches
id: release
uses: ./.github/actions/sync-branches
with:
src_branch: ${{ github.ref_name }}
dest_branch: dev-${{ github.ref_name }}