豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

feat: validate required input parameters#4284

Open
vvanouytsel wants to merge 1 commit intoactions:mainfrom
vvanouytsel:fix/validate-required-action-inputs
Open

feat: validate required input parameters#4284
vvanouytsel wants to merge 1 commit intoactions:mainfrom
vvanouytsel:fix/validate-required-action-inputs

Conversation

@vvanouytsel
Copy link
Copy Markdown

Input parameters of a reusable action can be set as 'required' but no validation is done.
I would expect that if a input parameters is defined as 'required', the workflow should fail to parse if the user does not provide the required input parameters. This is the default behavior for a reusable workflow, but not for a reusable action.

This PR attempts to solve that.
It would also close #1070.

@vvanouytsel vvanouytsel requested a review from a team as a code owner March 6, 2026 13:52
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.

Validate required inputs are set before invoking an action

1 participant