[GH-ISSUE #1021] Enhancement: A flag for providing inputs #595

Closed
opened 2026-03-01 21:44:49 +03:00 by kerem · 6 comments
Owner

Originally created by @neongreen on GitHub (Mar 1, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1021

Would be great if I could say --input name=value instead of having to create a file as per https://github.com/nektos/act/issues/332.

I am using GitHub Actions for tasks like "deploy a certain branch to staging", etc, and nearly all my actions currently require inputs. (While, on the other hand, I don't have any on: push actions.)

Originally created by @neongreen on GitHub (Mar 1, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1021 Would be great if I could say `--input name=value` instead of having to create a file as per https://github.com/nektos/act/issues/332. I am using GitHub Actions for tasks like "deploy a certain branch to staging", etc, and nearly all my actions currently require inputs. (While, on the other hand, I don't have any `on: push` actions.)
kerem 2026-03-01 21:44:49 +03:00
Author
Owner

@alexjoeyyong commented on GitHub (Apr 21, 2022):

I second this. It would be super useful.

<!-- gh-comment-id:1105327232 --> @alexjoeyyong commented on GitHub (Apr 21, 2022): I second this. It would be super useful.
Author
Owner

@Yago-Ferrer commented on GitHub (May 12, 2022):

@catthehacker @KnisterPeter 🔝 what do you think? I'm using this library for the first time and this is the first thing I noticed is missing.

Thanks!

<!-- gh-comment-id:1124539401 --> @Yago-Ferrer commented on GitHub (May 12, 2022): @catthehacker @KnisterPeter 🔝 what do you think? I'm using this library for the first time and this is the first thing I noticed is missing. Thanks!
Author
Owner

@KnisterPeter commented on GitHub (May 12, 2022):

@Yago-Ferrer feel free to start implementing and contributing it

<!-- gh-comment-id:1124583359 --> @KnisterPeter commented on GitHub (May 12, 2022): @Yago-Ferrer feel free to start implementing and contributing it
Author
Owner

@catthehacker commented on GitHub (May 12, 2022):

If issue is not closed, it's free to implement. If it's not implemented yet, it's most likely up to you to do it (until we fix all the major issues and problems with higher priority :).

<!-- gh-comment-id:1124814324 --> @catthehacker commented on GitHub (May 12, 2022): If issue is not closed, it's free to implement. If it's not implemented yet, it's most likely up to you to do it (until we fix all the major issues and problems with higher priority :).
Author
Owner

@kanaka commented on GitHub (Sep 1, 2022):

It would be great if act aligned with github's workflow command in gh tool: https://cli.github.com/manual/gh_workflow_run Specifically, the -f, -F, and --json options for specifying inputs.

<!-- gh-comment-id:1234383239 --> @kanaka commented on GitHub (Sep 1, 2022): It would be great if act aligned with github's workflow command in `gh` tool: https://cli.github.com/manual/gh_workflow_run Specifically, the `-f`, `-F`, and `--json` options for specifying inputs.
Author
Owner

@shubhbapna commented on GitHub (Nov 25, 2022):

I would like to take this issue if no one is working on it

<!-- gh-comment-id:1327690335 --> @shubhbapna commented on GitHub (Nov 25, 2022): I would like to take this issue if no one is working on it
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#595
No description provided.