fix: workflow sync fixes (#5594)

This commit is contained in:
sriram veeraghanta 2024-09-12 17:22:41 +05:30 committed by GitHub
parent 9d694ab006
commit 5f1939cdeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 19 deletions

View file

@ -35,8 +35,9 @@ jobs:
env:
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
RUN_ID="${{ github.run_id }}"
TARGET_REPO="${{ vars.SYNC_TARGET_REPO }}"
TARGET_BRANCH="${{ vars.SYNC_TARGET_BRANCH_NAME }}"
TARGET_BRANCH="sync/${RUN_ID}"
SOURCE_BRANCH="${{ env.SOURCE_BRANCH_NAME }}"
git checkout $SOURCE_BRANCH