MON-24468 Centreon next 23.04 (Jira release #19471#) #7
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: 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 }} |