fix: evaluation of boolean conditions in github workflows #136
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 Description
This PR fixes the conditional for providing file name for
diff-base-breakdown-file-name
on the example provided, which was leading to always provide that value (even with thatmain.breakdown
file is missing). The reason for this was that we were expecting a boolean output from the previous action and, unfortunately, even if the response isfalse
, the conditional considers the value as string (already known behavior).This PR simply checks that value as string and updates the documentation to display that change.
🔗 Related Issue
N/A
✅ Checklist Before Requesting a Review
📋 Changes Summary
test.yml
github_action.md
🚀 How to Test
I have tested the issue on my private repository too, so I can share some screenshots about it:
Before the fix:


After the fix:


🛠️ Additional Notes
Thanks so much for this project! I have been working with GO a few weeks so far, and this has been a nice repository to use ❤️