Skip to content

Commit 446db82

Browse files
fix: add fetch step to establish lease baseline in sync workflow (#27)
1 parent 8f4270b commit 446db82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/sync.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
INTERNAL_REPO="https://oauth2:${INTERNAL_TOKEN}@${INTERNAL_REPO#https://}"
3030
git remote add internal "$INTERNAL_REPO"
3131
32+
echo "Fetching internal remote to establish lease baseline..."
33+
git fetch internal main
34+
3235
echo "Pushing main branch to internal repository..."
3336
git push internal main:main --force-with-lease
3437

0 commit comments

Comments
 (0)