Skip to content

[SPARK-58074][INFRA] Mask PYPI_API_TOKEN in dry-run mode of release.yml#57170

Closed
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-58074
Closed

[SPARK-58074][INFRA] Mask PYPI_API_TOKEN in dry-run mode of release.yml#57170
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-58074

Conversation

@dongjoon-hyun

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to mask PYPI_API_TOKEN with a "not_used" placeholder in the dry-run mode of release.yml, like the other secrets.

Why are the changes needed?

In dry-run mode, all other secrets are replaced with placeholders, but PYPI_API_TOKEN was missing from the list. So, the real token was propagated to the release scripts and the Docker container environment although dry runs never use it.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual review.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Fable 5

@HyukjinKwon HyukjinKwon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @HyukjinKwon ! 😄

dongjoon-hyun added a commit that referenced this pull request Jul 9, 2026
…e.yml`

### What changes were proposed in this pull request?

This PR aims to mask `PYPI_API_TOKEN` with a `"not_used"` placeholder in the dry-run mode of `release.yml`, like the other secrets.

### Why are the changes needed?

In dry-run mode, all other secrets are replaced with placeholders, but `PYPI_API_TOKEN` was missing from the list. So, the real token was propagated to the release scripts and the Docker container environment although dry runs never use it.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manual review.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Fable 5

Closes #57170 from dongjoon-hyun/SPARK-58074.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 1047560)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merge Summary:

Posted by merge_spark_pr.py

@dongjoon-hyun dongjoon-hyun deleted the SPARK-58074 branch July 9, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants