From 5a0d733ce8763374b7e9fcf522f9ad4650c21de4 Mon Sep 17 00:00:00 2001 From: nicholasSSUSE Date: Thu, 12 Dec 2024 15:56:53 -0300 Subject: [PATCH] fixing payload receiver --- .github/workflows/auto-bump.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-bump.yaml b/.github/workflows/auto-bump.yaml index 6223e57063..6b35fa7bcb 100644 --- a/.github/workflows/auto-bump.yaml +++ b/.github/workflows/auto-bump.yaml @@ -17,16 +17,17 @@ jobs: - name: Log Event Payload run: | - echo "Raw Payload: ${{ github.event.inputs.eventPayload }}" - echo "test: ${{ github.event.inputs.chart }}; ${{ github.event.inputs.branch }}" + echo "Payload: ${{ github.event.inputs.chart }}; ${{ github.event.inputs.branch }}" - name: Parse JSON Payload id: parse_payload run: | - echo '${{ github.event.inputs.eventPayload }}' | jq -r '.chart, .branch' | { + echo '${{ github.event.inputs.chart }}' | jq -r '.chart' | { read chart - read branch echo "CHART=$chart" >> $GITHUB_ENV + } + echo '${{ github.event.inputs.branch }}' | jq -r '.branch' | { + read branch echo "BRANCH=$branch" >> $GITHUB_ENV }