File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 - name : Create input files
2828 shell : bash
2929 run : |
30- cat > "payload.json" <<'EOL'
31- ${{ github.event.inputs.payload }}
32- EOL
30+ # Extract the payload content without printing it
31+ PAYLOAD=$(jq -r '.inputs.payload' $GITHUB_EVENT_PATH)
32+
33+ # Apply mask to the extracted content
34+ echo "::add-mask::$PAYLOAD"
35+
36+ # Now write to file (won't be logged since it's masked)
37+ echo "$PAYLOAD" > payload.json
3338
3439 - name : Set venv directory based on runner
3540 run : |
Original file line number Diff line number Diff line change 2828 - name : Create input files
2929 shell : bash
3030 run : |
31- cat > "payload.json" <<'EOL'
32- ${{ github.event.inputs.payload }}
33- EOL
31+ # Extract the payload content without printing it
32+ PAYLOAD=$(jq -r '.inputs.payload' $GITHUB_EVENT_PATH)
33+
34+ # Apply mask to the extracted content
35+ echo "::add-mask::$PAYLOAD"
36+
37+ # Now write to file (won't be logged since it's masked)
38+ echo "$PAYLOAD" > payload.json
3439
3540 - name : Install uv
3641 uses : astral-sh/setup-uv@v3
You can’t perform that action at this time.
0 commit comments