GODRIVER-2978 Remove branch synching workflow and improve local scrip… #5
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: 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 --global user.email [email protected] | |
git config --global user.name $GITHUB_ACTOR | |
export AUTH_TOKEN=${{secrets.GITHUB_TOKEN}} | |
sha=$(git rev-parse HEAD) | |
bash ./etc/cherry-picker.sh $sha |