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

fix: stop using fromJSON #39

Merged
merged 1 commit into from
Sep 18, 2023
Merged

fix: stop using fromJSON #39

merged 1 commit into from
Sep 18, 2023

Conversation

suzuki-shunsuke
Copy link
Member

fromJSON causes a panic if the input isn't JSON. The panic makes the troubleshooting difficult.
Especially, if actions are nested you can't understand where and why the panic occurs.

So instad of fromJSON, we use == 'true' and != 'true'.

`fromJSON` causes a panic if the input isn't JSON.
The panic makes the troubleshooting difficult.
Especially, if actions are nested you can't understand where and why the panic occurs.

So instad of `fromJSON`, we use `== 'true'` and `!= 'true'`.
@suzuki-shunsuke suzuki-shunsuke added bug Something isn't working and removed bug Something isn't working labels Sep 18, 2023
@suzuki-shunsuke suzuki-shunsuke added this to the v0.2.3 milestone Sep 18, 2023
@suzuki-shunsuke suzuki-shunsuke merged commit 0fef5fa into main Sep 18, 2023
@suzuki-shunsuke suzuki-shunsuke deleted the fix-stop-using-fromjson branch September 18, 2023 05:41
suzuki-shunsuke added a commit to suzuki-shunsuke/tfaction that referenced this pull request Sep 18, 2023
suzuki-shunsuke added a commit to suzuki-shunsuke/tfaction that referenced this pull request Sep 18, 2023
* fix: update update-checksum action

- aquaproj/update-checksum-action#39

* debug

* fix(get-global-config): fix outputs

* fix(get-global-config): make skip_push false in drift detection

* fix: output global-config.outputs for troubleshooting

* fix: set shell

* fix(get-global-config): fix skip_push

* fix(setup): output target config for trouble shooting
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.

1 participant