dawidd6 / action-download-artifact

:gear: A GitHub Action to download an artifact associated with given workflow and commit or other criteria
MIT License
723 stars 210 forks source link

Read workflow_search input as a boolean (#273) #275

Closed dawidd6 closed 9 months ago

dawidd6 commented 9 months ago

In commit f6b0bace624032e30a85a8fd9c1a7f8f611f5737 we added a check for !workflow_search before using the current workflow, but with a string this always evaluates to true.

This results in always searching workflows, and if enough inputs are unspecified it can find the wrong run id.