Merge pull request #141 from milaboratory/merge-2025-12-19 #328
This file contains hidden or 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: "Automerge 'v4' to 'master'" | |
| on: | |
| push: | |
| branches: [ 'v4' ] | |
| jobs: | |
| merge: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - shell: bash | |
| env: | |
| TARGET_BRANCH: 'master' | |
| run: | | |
| # Merge ${{ env.GITHUB_REF_NAME }} into ${{ env.TARGET_BRANCH }} | |
| git config user.email "ci@milaboratory.com" | |
| git config user.name "Mi CI/CD Robot" | |
| git checkout "${TARGET_BRANCH}" | |
| git merge --no-edit "${GITHUB_REF_NAME}" | |
| git push |