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

role-skip-session-tagging: false skips session tagging #199

Closed
gabegorelick opened this issue Apr 26, 2021 · 2 comments
Closed

role-skip-session-tagging: false skips session tagging #199

gabegorelick opened this issue Apr 26, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@gabegorelick
Copy link

getInput always returns a string, and this action doesn't convert the return value to a boolean. So if you specify role-skip-session-tagging: false, you won't get session tagging.

const roleSkipSessionTagging = core.getInput('role-skip-session-tagging', { required: false });

const roleSessionTags = roleSkipSessionTagging ? undefined : tagArray;

The obvious workaround is to just remove the role-skip-session-tagging option instead of specifying role-skip-session-tagging: false, but it's definitely confusing that role-skip-session-tagging: false doesn't work as expected.

@allisaurus allisaurus added the bug Something isn't working label Apr 30, 2021
@allisaurus
Copy link
Contributor

Thanks for reporting @gabegorelick ! Agreed this is not expected behavior, will work on setting this right.

@paragbhingre paragbhingre self-assigned this May 5, 2021
This was referenced May 6, 2021
@allisaurus
Copy link
Contributor

This should be fixed in 1.5.10!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants