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

should_skip value should be documented as a str #213

Merged
merged 1 commit into from Apr 11, 2022

Conversation

quinn-dougherty
Copy link
Contributor

I had a bit of an evening trying to do boolean operations on should_skip output values, not realizing they were being cast and that the ! operator wouldn't work on them.

The proper usage is if: ${{ needs.<jobname>.outputs.should_skip != 'true' }}, and if the README.md puts quotes around the word true no one will mistakenly think that it behaves as bool by the time you're operating on it within a workflow.

@fkirc fkirc merged commit 665b514 into fkirc:master Apr 11, 2022
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

2 participants