Skip to content

Passing " " (a space) as a SECRET causes " " in output to be masked #2707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jklap opened this issue Mar 24, 2025 · 0 comments
Open

Passing " " (a space) as a SECRET causes " " in output to be masked #2707

jklap opened this issue Mar 24, 2025 · 0 comments
Labels
kind/bug Something isn't working

Comments

@jklap
Copy link

jklap commented Mar 24, 2025

Bug report info

act version:            0.2.75

Command used with act

export AWS_ROLE_ARN=" " && act --secret AWS_ROLE_ARN ....

Describe issue

If you pass in a SECRET value with just a single space (ie " ") then all single spaces in the output are masked:

[Publish (non-prod)/Publish] ******✅******Success***-***Main***Repository***Checkout

While masking secrets is obviously important, there a valid scenarios where passing a single space can be valid so maybe we need a rule in the masking logic to ignore this scenario?

Link to GitHub repository

No response

Workflow content

Not relevant to reproduce

Relevant log output

Not relevant to reproduce

Additional information

No response

@jklap jklap added the kind/bug Something isn't working label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant