chore: release mixcr software for platform from defined branch #184
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: "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 "[email protected]" | |
git config user.name "Mi CI/CD Robot" | |
git checkout "${TARGET_BRANCH}" | |
git merge --no-edit "${GITHUB_REF_NAME}" | |
git push |