Relax the 10-parameter input limitation on workflow_dispatch
See original GitHub issueDescribe the bug
Workflows with more than 10 parameters are considered invalid. Crucially, this also applies to reusable workflows used from a workflow that could be dispatched manually.
To Reproduce Steps to reproduce the behavior:
- Write a workflow with at least 11 inputs
- set it to run
on: { workflow_dispatch: }
- See error upon execution
Expected behavior The workflow does not trigger errors
Runner Version and Platform
Current GHA hosted runner
What’s not working?
Check failure on line 1 in .github/workflows/build-and-deploy.yml
GitHub Actions
/ .github/workflows/build-and-deploy.yml
Invalid workflow file
handling usage of workflow "DanySK/workflows/.github/workflows/build-and-deploy-gradle-project.yml@master": workflow is invalid: you may only define up to 10 `inputs` for a `workflow_dispatch` event
Note: I am not sure that runner
is the correct repository for reporting this. Please let me know if I should open the issue report elsewhere.
The problem is also being discussed here.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:35
- Comments:15 (1 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We’re also bumping into this. Our use case is using composite action and it requires many optional configuration options.
One workaround is to accept a JSON payload and deserialize within an action, but that’s pretty nasty and error prone when triggering from the UI.
The limit should be at least 25 to cover most use cases.
Please report this to https://github.community/c/code-to-cloud/github-actions/41 the runner itself has no control over this limitation.