Closed devtribe closed 1 month ago
If you passing a boolean input parameter through more than one component, the type getting lost.
With the following example you get the error This GitLab CI configuration is invalid: "a.gitlab-ci.yml": "abc" input: provided value is not a boolean.
This GitLab CI configuration is invalid: "a.gitlab-ci.yml": "abc" input: provided value is not a boolean.
a.gitlab-ci.yml
--- spec: inputs: abc: type: boolean
b.gitlab-ci.yml
--- spec: inputs: abc: type: boolean --- include: - component: a inputs: abc: $[[ inputs.abc ]]
.gitlab-ci.yml
--- include: - component: b inputs: abc: true
Expected behavior Everything works fine
Host information macOS 14.5 gitlab-ci-local 4.52.1
Containerd binary docker
Thanks for the bug report, the mr ^ should address your issue
If you passing a boolean input parameter through more than one component, the type getting lost.
With the following example you get the error
This GitLab CI configuration is invalid: "a.gitlab-ci.yml": "abc" input: provided value is not a boolean.
a.gitlab-ci.yml
b.gitlab-ci.yml
.gitlab-ci.yml
Expected behavior Everything works fine
Host information macOS 14.5 gitlab-ci-local 4.52.1
Containerd binary docker