Delete .github/workflows/force-sync.yml

[ROCm/rocprofiler-sdk commit: 67e00e63b8]
This commit is contained in:
Choudhary, Rahul
2025-01-07 10:29:31 -08:00
کامیت شده توسط GitHub
والد 1a90147c48
کامیت 06ac2cdc68
@@ -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