diff --git a/projects/rocprofiler-sdk/.github/workflows/force-sync.yml b/projects/rocprofiler-sdk/.github/workflows/force-sync.yml deleted file mode 100644 index ef0ff69983..0000000000 --- a/projects/rocprofiler-sdk/.github/workflows/force-sync.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Sync Repo - -on: - workflow_dispatch: - -jobs: - build: - runs-on: self-hosted - steps: - - name: Mirror the repository - env: - SOURCE_REPO: 'https://github.com/ROCm/rocprofiler-sdk-internal.git' - TARGET_REPO: 'https://github.com/AMD-ROCm-Internal/rocprofiler-sdk-internal' - SOURCE_ACCESS_TOKEN: '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' - TARGET_ACCESS_TOKEN: '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' - run: | - sudo rm -rf source-repo - - # Clone the source repository using the PAT in the URL - - SOURCE_REPO_WITH_CREDENTIALS="https://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@github.com/ROCm/rocprofiler-sdk-internal.git" - git clone --mirror "$SOURCE_REPO_WITH_CREDENTIALS" source-repo - cd source-repo - - # Set the push URL to the target repository with the PAT in the URL - TARGET_REPO_WITH_CREDENTIALS="https://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@github.com/AMD-ROCm-Internal/rocprofiler-sdk-internal.git" - git remote set-url --push origin "$TARGET_REPO_WITH_CREDENTIALS" - - # Push the changes using --mirror - git push --mirror