eclipse-tractusx / sldt-semantic-hub

Apache License 2.0
6 stars 10 forks source link

TRG 5.09 Helm test skipped when using `workflow_dispatch` #193

Closed SebastianBezold closed 9 months ago

SebastianBezold commented 9 months ago

The current Chart lint and test workflow is skipping the ct test part when manually triggering the workflow. This happens, because it is run only under the condition, that there are changes to the Chart.

This could be fixed by altering the condition to github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'. With this, workflow_dispatch will trigger the step. The other approach would be to remove the condition completely, but this would run it on every PR, even if there are no changes to the chart