-
Notifications
You must be signed in to change notification settings - Fork 183
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
Fix Broken Booleans Only in workflow_call
Conditional Cheecks
#1236
Fix Broken Booleans Only in workflow_call
Conditional Cheecks
#1236
Conversation
This fix will resolve the issue noticed in the runs post release prep. https://github.com/usnistgov/OSCAL/runs/6311164174 https://github.com/usnistgov/OSCAL/runs/6311163976 This is a workaround report in this thread. community/community#9343 (comment) It pertains to this issue, which has yet to be fixed in GitHub Actions runners that exhibit a difference in behavior for the same boolean input being treated as a string in a `workflow_dispatch` `inputs` (i.e. `github.event.inputs.*`) even if `type: boolean` is set but behaves properly as intended for `workflow_call` `inputs` (`inputs.*` which are different in the object graph) and treated as bools through and through. This is reported in actions/runner#1483. To resolve this, the buggy `workflow_dispatch` `github.event.inputs.*` will be left with the workaround as-is, conditional checking the values as strings, but we revert the changes for `workflow_call` `inputs.*` and leave them like before until actions/runner#1483 is resolved.
140f482
to
b53f152
Compare
@david-waltermire-nist here is an example of this working. Since I can quickly review all https://github.com/aj-stein-nist/OSCAL/runs/6315918090?check_suite_focus=true Sorry, I had to read the docs a few times to realize my error when quickly and ham-fistedly changing all of them during our pairing last night. Not sure you want an issue to remove the kludge for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
…g. (#1236) This fix will resolve the issue noticed in the runs post release prep. https://github.com/usnistgov/OSCAL/runs/6311164174 https://github.com/usnistgov/OSCAL/runs/6311163976 This is a workaround report in this thread. community/community#9343 (comment) It pertains to this issue, which has yet to be fixed in GitHub Actions runners that exhibit a difference in behavior for the same boolean input being treated as a string in a `workflow_dispatch` `inputs` (i.e. `github.event.inputs.*`) even if `type: boolean` is set but behaves properly as intended for `workflow_call` `inputs` (`inputs.*` which are different in the object graph) and treated as bools through and through. This is reported in actions/runner#1483. To resolve this, the buggy `workflow_dispatch` `github.event.inputs.*` will be left with the workaround as-is, conditional checking the values as strings, but we revert the changes for `workflow_call` `inputs.*` and leave them like before until actions/runner#1483 is resolved.
…g. (usnistgov#1236) This fix will resolve the issue noticed in the runs post release prep. https://github.com/usnistgov/OSCAL/runs/6311164174 https://github.com/usnistgov/OSCAL/runs/6311163976 This is a workaround report in this thread. community/community#9343 (comment) It pertains to this issue, which has yet to be fixed in GitHub Actions runners that exhibit a difference in behavior for the same boolean input being treated as a string in a `workflow_dispatch` `inputs` (i.e. `github.event.inputs.*`) even if `type: boolean` is set but behaves properly as intended for `workflow_call` `inputs` (`inputs.*` which are different in the object graph) and treated as bools through and through. This is reported in actions/runner#1483. To resolve this, the buggy `workflow_dispatch` `github.event.inputs.*` will be left with the workaround as-is, conditional checking the values as strings, but we revert the changes for `workflow_call` `inputs.*` and leave them like before until actions/runner#1483 is resolved.
Committer Notes
Fix logical bug missed in #1231 to fix for final release. This really closes #1208.
All Submissions:
"?
Changes to Core Features:
Have you written new tests for your core changes, as applicable?Have you included examples of how to use your new feature(s)?Have you updated all OSCAL website and readme documentation affected by the changes you made? Changes to the OSCAL website can be made in the docs/content directory of your branch.