Skip to content

GODRIVER-2978 Automate syncing code between Go driver v1 and v2 (#1391) #1

GODRIVER-2978 Automate syncing code between Go driver v1 and v2 (#1391)

GODRIVER-2978 Automate syncing code between Go driver v1 and v2 (#1391) #1

Workflow file for this run

name: Sync
on:
push:
branches:
- v1
jobs:
sync-branches:
runs-on: ubuntu-latest
name: Syncing branches
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create a sync PR
run: |
git config --global github.user $GITHUB_ACTOR
git config user.email [email protected]
git config user.name $GITHUB_ACTOR
export AUTH_TOKEN=${{secrets.GITHUB_TOKEN}}
sha=$(git rev-parse HEAD)
bash ./etc/cherry-picker.sh $sha