Skip to content

Commit f1263e8

Browse files
authored
docs: fix steps: placement in Deterministic Multi-Repo Workflows example (#18143)
1 parent db1de97 commit f1263e8

1 file changed

Lines changed: 22 additions & 21 deletions

File tree

docs/src/content/docs/patterns/multi-repo-ops.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -165,27 +165,28 @@ For direct repository access without agent involvement, use an AI engine with cu
165165
---
166166
engine:
167167
id: claude
168-
steps:
169-
- name: Checkout main repo
170-
uses: actions/checkout@v5
171-
with:
172-
path: main-repo
173-
174-
- name: Checkout secondary repo
175-
uses: actions/checkout@v5
176-
with:
177-
repository: org/secondary-repo
178-
token: ${{ secrets.GH_AW_CROSS_REPO_PAT }}
179-
path: secondary-repo
180-
181-
- name: Compare and sync
182-
run: |
183-
# Deterministic sync logic
184-
rsync -av main-repo/shared/ secondary-repo/shared/
185-
cd secondary-repo
186-
git add .
187-
git commit -m "Sync from main repo"
188-
git push
168+
169+
steps:
170+
- name: Checkout main repo
171+
uses: actions/checkout@v5
172+
with:
173+
path: main-repo
174+
175+
- name: Checkout secondary repo
176+
uses: actions/checkout@v5
177+
with:
178+
repository: org/secondary-repo
179+
token: ${{ secrets.GH_AW_CROSS_REPO_PAT }}
180+
path: secondary-repo
181+
182+
- name: Compare and sync
183+
run: |
184+
# Deterministic sync logic
185+
rsync -av main-repo/shared/ secondary-repo/shared/
186+
cd secondary-repo
187+
git add .
188+
git commit -m "Sync from main repo"
189+
git push
189190
---
190191
191192
# Deterministic Feature Sync

0 commit comments

Comments
 (0)