Skip to content
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

Support set but empty env variables #2708

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

Support set but empty env variables #2708

jklap opened this issue Mar 24, 2025 · 0 comments
Labels
kind/feature-request New feature or request

Comments

@jklap
Copy link

jklap commented Mar 24, 2025

Act version

act version: 0.2.75

Feature description

There are scenarios where we want to support sending empty vars and/or secrets into a workflow. But attempting to do this via any of the below scenarios doesn't work:

export MY_VAR=''
act --var MY_VAR
# act asks for input
export MY_SECRET=''
act --secret MY_SECRET
# act asks for input
act --var MY_VAR=''
# act asks for input
act --secret MY_SECRET=''
# act asks for input

We should support the ability to pass in a var or secret via the command line or a set-but-empty env var

@jklap jklap added the kind/feature-request New feature or request label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant