tektoncd / pipeline

A cloud-native Pipeline resource.
https://tekton.dev
Apache License 2.0
8.35k stars 1.76k forks source link

Incorrect param type passed to stepaction makes it use default value #8079

Open arifash01 opened 1 week ago

arifash01 commented 1 week ago

Github Repo Link to reproduce bug: https://github.com/arifash01/tekton-param-issue

Expected Behavior

Fail the run because the commands param expects a list but a string is passed instead

Actual Behavior

Run succeeds and the logs show the default value instead

Client Version: v1.29.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.5-gke.1060000
Client version: 0.32.0
Pipeline version: v0.58.0
chitrangpatel commented 1 week ago

Thanks @arifash01! This is indeed a bug.