From 026d1829a38a2074d3f3b3c7ed9efcbd08680b2f Mon Sep 17 00:00:00 2001 From: snigupta Date: Wed, 7 Oct 2026 14:06:19 -0600 Subject: [PATCH 1/5] Add a workflow that merges GitHub main into enterprise MLDebug. Signed-off-by: snigupta Co-authored-by: Cursor --- .github/workflows/mirror-enterprise.yml | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/mirror-enterprise.yml diff --git a/.github/workflows/mirror-enterprise.yml b/.github/workflows/mirror-enterprise.yml new file mode 100644 index 0000000..5252b76 --- /dev/null +++ b/.github/workflows/mirror-enterprise.yml @@ -0,0 +1,35 @@ +name: Mirror main to MLDebug + +on: + push: + branches: [ main ] + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: mirror-mldebug-main + cancel-in-progress: false + +jobs: + mirror: + runs-on: [ fork-mirror ] + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + persist-credentials: false + + - name: Push main to enterprise + env: + ENTERPRISE_TOKEN: ${{ secrets.MLDEBUG_ENTERPRISE_TOKEN }} + run: | + auth=$(printf 'x-access-token:%s' "$ENTERPRISE_TOKEN" | base64 -w0) + hdr="http.extraHeader=AUTHORIZATION: basic ${auth}" + + git -c "$hdr" clone https://gitenterprise.xilinx.com/snigupta/MLDebug.git "$RUNNER_TEMP/MLDebug" + cd "$RUNNER_TEMP/MLDebug" + git pull https://github.com/Xilinx/MLDebugger.git main + git -c "$hdr" push origin main + From ce94b7e7a701a87766e612d6d9b645415070283e Mon Sep 17 00:00:00 2001 From: snigupta Date: Wed, 7 Oct 2026 14:08:58 -0600 Subject: [PATCH 2/5] Merge GitHub main explicitly when updating enterprise MLDebug. Signed-off-by: snigupta Co-authored-by: Cursor --- .github/workflows/mirror-enterprise.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mirror-enterprise.yml b/.github/workflows/mirror-enterprise.yml index 5252b76..95f6c1d 100644 --- a/.github/workflows/mirror-enterprise.yml +++ b/.github/workflows/mirror-enterprise.yml @@ -30,6 +30,6 @@ jobs: git -c "$hdr" clone https://gitenterprise.xilinx.com/snigupta/MLDebug.git "$RUNNER_TEMP/MLDebug" cd "$RUNNER_TEMP/MLDebug" - git pull https://github.com/Xilinx/MLDebugger.git main + git pull --no-rebase https://github.com/Xilinx/MLDebugger.git main git -c "$hdr" push origin main From 8c60cd68dcc5619b30b4fb2a0a1096145b04f86b Mon Sep 17 00:00:00 2001 From: snigupta Date: Wed, 7 Oct 2026 14:17:50 -0600 Subject: [PATCH 3/5] TEST CHANGES Signed-off-by: snigupta --- mldebug.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mldebug.py b/mldebug.py index 7fdd5c5..b4d3a4d 100644 --- a/mldebug.py +++ b/mldebug.py @@ -1,6 +1,8 @@ # SPDX-License-Identifier: Apache-2.0 # Copyright (C) 2024-2025 Advanced Micro Devices, Inc. All rights reserved. +# TEST CHANGES + """ Direct Launcher script """ From 478070a8ffcc8fd334e4b7bfb52a9ca50e4b832a Mon Sep 17 00:00:00 2001 From: snigupta Date: Wed, 7 Oct 2026 14:26:12 -0600 Subject: [PATCH 4/5] TEST CHANGES Signed-off-by: snigupta --- mldebug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mldebug.py b/mldebug.py index b4d3a4d..28cb4ca 100644 --- a/mldebug.py +++ b/mldebug.py @@ -2,7 +2,7 @@ # Copyright (C) 2024-2025 Advanced Micro Devices, Inc. All rights reserved. # TEST CHANGES - +# TEST CHANGES 2 """ Direct Launcher script """ From 439ed0a08f036f9ac02682f1e2c0b385b98ff635 Mon Sep 17 00:00:00 2001 From: snigupta Date: Wed, 7 Oct 2026 14:31:51 -0600 Subject: [PATCH 5/5] TEST CHANGES Signed-off-by: snigupta --- mldebug.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mldebug.py b/mldebug.py index 28cb4ca..abbbea0 100644 --- a/mldebug.py +++ b/mldebug.py @@ -3,6 +3,7 @@ # TEST CHANGES # TEST CHANGES 2 +# TEST CHANGES 3 """ Direct Launcher script """