Skip to content

v1.0.5-beta

v1.0.5-beta #5

Workflow file for this run

name: Sync cpp to main on Release
on:
release:
types: [published]
permissions:
contents: write
jobs:
sync:
if: ${{ github.event.release.target_commitish == 'cpp' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: true
- name: Merge cpp into main
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch origin
git checkout main
git merge origin/cpp --no-edit
git push origin main