Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read workflow_search input as a boolean #273

Merged
merged 1 commit into from Feb 21, 2024

Conversation

klutchell
Copy link
Contributor

In commit f6b0bac 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.

Copy link
Owner

@dawidd6 dawidd6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this.

In commit f6b0bac 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.

Signed-off-by: Kyle Harding <kyle@balena.io>
@dawidd6 dawidd6 merged commit 71072fb into dawidd6:master Feb 21, 2024
17 checks passed
dawidd6 pushed a commit that referenced this pull request Feb 21, 2024
In commit f6b0bac 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.

Signed-off-by: Kyle Harding <kyle@balena.io>
dawidd6 added a commit that referenced this pull request Feb 21, 2024
In commit f6b0bac 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.

Signed-off-by: Kyle Harding <kyle@balena.io>
Co-authored-by: Kyle Harding <kyle@balena.io>
@romangg
Copy link
Contributor

romangg commented Feb 21, 2024

Thanks @klutchell!

@klutchell
Copy link
Contributor Author

No problem, thank you for maintaining this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants