Skip to content

Commit 3976037

Browse files
authored
Update repo-sync.yml
1 parent f6c907d commit 3976037

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.github/workflows/repo-sync.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -83,25 +83,3 @@ jobs:
8383
--base main
8484
env:
8585
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86-
87-
# - name: Sync changes to repo-3 (if applicable)
88-
# if: env.merged == 'true' && (steps.file_changes.outputs.common == 'true' || steps.file_changes.outputs.child_2 == 'true')
89-
# run: |
90-
# git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/RohitKini/migration-github-workflow-variant2.git
91-
# git checkout -b sync-from-migration-v2-${{ github.event.pull_request.number }}
92-
# rsync -av --delete ../common/ ./common/
93-
# rsync -av --delete ../child_2/ ./child_2/
94-
# git add .
95-
# git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
96-
# git push origin sync-from-migration-v2-${{ github.event.pull_request.number }}
97-
98-
# - name: Create PR in repo-3
99-
if: env.merged == 'true' && (steps.file_changes.outputs.common == 'true' || steps.file_changes.outputs.child_2 == 'true')
100-
run: |
101-
gh pr create --repo org/repo-3 \
102-
--title "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}" \
103-
--body "This PR syncs changes from migration-v2:\n${{ github.event.pull_request.html_url }}" \
104-
--head sync-from-migration-v2-${{ github.event.pull_request.number }} \
105-
--base main
106-
env:
107-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)