Improving --gencode_primary and --flag_gencode_primary #151
Workflow file for this run
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: Merge postreleasefix with release and main branches | |
on: | |
pull_request: | |
types: | |
- closed # Run after closing PR | |
branches: | |
- 'postreleasefix/*' | |
permissions: write-all | |
jobs: | |
sync-branch: | |
runs-on: ubuntu-latest | |
if: | | |
github.event.pull_request.merged == true && | |
contains(github.event.pull_request.labels.*.name, 'auto-merge') | |
steps: | |
- uses: actions/checkout@main | |
- name: Set the release version | |
run: | | |
echo "release=$(echo ${GITHUB_REF} | grep -o [0-9]*$)" >> $GITHUB_ENV | |
- name: "Merge postreleasefix/${{ env.release }} -> main" | |
uses: devmasx/merge-branch@master | |
with: | |
type: now | |
from_branch: "postreleasefix/${{ env.release }}" | |
target_branch: main | |
github_token: ${{ secrets.ENSVAR }} | |
message: "Merge branch 'postreleasefix/${{ env.release }}'" | |
- name: "Merge postreleasefix/${{ env.release }} -> release/${{ env.release }}" | |
uses: devmasx/merge-branch@master | |
with: | |
type: now | |
from_branch: "postreleasefix/${{ env.release }}" | |
target_branch: "release/${{ env.release }}" | |
github_token: ${{ secrets.ENSVAR }} | |
message: "Merge branch 'postreleasefix/${{ env.release }}'" |