File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments