ddev / ddev-addon-template

Template for DDEV add-ons.
Apache License 2.0
17 stars 17 forks source link

Run tmate debugging session only if workflow_dispatch debug_enabled is true #20

Closed julienloizelet closed 1 year ago

julienloizelet commented 1 year ago

Hi, if we use the workflow_dispatch to launch the "tests" action, the tmate debugging session step runs even if we let the default debug_enabled input to false.

This PR fixes it and runs the tmate debugging session step only if the value of debug_enabled has been explicitly set to true.