MON-38630 Centreon next 23.04 (Jira release #19784#) #13
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
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 }} |