diff --git a/.github/workflows/mirror-enterprise.yml b/.github/workflows/mirror-enterprise.yml new file mode 100644 index 0000000..95f6c1d --- /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 --no-rebase https://github.com/Xilinx/MLDebugger.git main + git -c "$hdr" push origin main + diff --git a/mldebug.py b/mldebug.py index 7fdd5c5..abbbea0 100644 --- a/mldebug.py +++ b/mldebug.py @@ -1,6 +1,9 @@ # SPDX-License-Identifier: Apache-2.0 # Copyright (C) 2024-2025 Advanced Micro Devices, Inc. All rights reserved. +# TEST CHANGES +# TEST CHANGES 2 +# TEST CHANGES 3 """ Direct Launcher script """