opendevstack / ods-pipeline

Alternative ODS CI/CD pipeline based on Tekton / OpenShift Pipelines
Apache License 2.0
13 stars 5 forks source link

Special case single star branch/tag constraint #745

Open michaelsauter opened 10 months ago

michaelsauter commented 10 months ago

If the constraint is e.g. branches: ["*"], then all branch names are matched, even ones containing slashes. Before this change, e.g. feature/foo would not have matched.

Closes #691.

Tasks:

henninggross commented 10 months ago

I believe the docs of the configuration need to be updated as well. I am on my phone sadly and cannot link to the specific lines, but there is a place where it is mentioned that "*" does not catch every branch.