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

Compatibility with Github actions #679

Closed
Shalom-Nankam opened this issue Nov 21, 2022 · 1 comment
Closed

Compatibility with Github actions #679

Shalom-Nankam opened this issue Nov 21, 2022 · 1 comment
Labels

Comments

@Shalom-Nankam
Copy link

I'm trying to automate changing an actions workflow yaml file so as to dynamically generate my mobile application. The 'on' key in the actions workflow which holds a trigger value always changes to 'true' when I dump my workflow yaml into a new yaml file.

In the images below, I am changing the value of my environmental variable 'myAppName' dynamically from the original.yaml and copying it back into my copy.yaml. You can see that "on" in the original.yaml changes to "true" in copy.yaml

Screenshot 2022-11-18 at 16 43 28

Screenshot 2022-11-18 at 16 43 53

@perlpunk
Copy link
Member

PyYAML currently implements only YAML 1.1.
See for plans on YAML 1.2:

on is a boolean in YAML 1.1, so PyYAML is behaving correctly here.

@perlpunk perlpunk closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants