dawidd6 / action-download-artifact

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

Read workflow_search input as a boolean #273

Closed klutchell closed 7 months ago

klutchell commented 7 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.

romangg commented 7 months ago

Thanks @klutchell!

klutchell commented 7 months ago

No problem, thank you for maintaining this project!