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

Use None instead of string 'None' #817

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

sergio-costas
Copy link
Collaborator

Two command line options use the string 'None' instead of the native type None as the default value.

This PR changes this.

@rudra-iitm
Copy link
Contributor

I think there is an issue when using None instead of 'None', as action.yml sends 'None' when an argument is not passed. We can't pass None as the default value in action.yml because it breaks.

@sergio-costas
Copy link
Collaborator Author

I updated the action.yml file. Now it should manage that case without problem.

Two command line options use the string 'None' instead of the
native type None as the default value.

This PR changes this.
The `version-schema` and `rock-version-schema` must be passed
only when defined.
@sergio-costas
Copy link
Collaborator Author

Hi @rudra-iitm . Could you review this patch, please? I want to be sure that it doesn't break anything.

@rudra-iitm
Copy link
Contributor

@sergio-costas , this looks good to me.

@sergio-costas sergio-costas merged commit 306490c into ubuntu:stable Dec 9, 2024
1 check passed
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.

2 participants