You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Using Action schema with YAML validation I was running a self-documentation test for another action. It noticed and failed validation for the setup-java repo's action.yml because of two invalid "default" field values where a boolean value was set where a string value is expected.
Repro steps:
Your repo.
Expected behavior:
The action.yml should be schema validated.
Actual behavior:
The action.yml is not schema validated.
Hi @Coderrob, Thank you for bringing this up. It appears that the issue you're encountering is due to a mismatch between the expected data types in the schema you are using for validation. The default field in our action.yml specifies a boolean value, which is valid within the context of our implementation. We are not experiencing any errors or issues on our end with this configuration. However, it is possible that the schema you are using for validation expects a string value for the default field. This may be the root cause of the discrepancy.
We recommend reviewing the schema's specifications to ensure it aligns with the intended design of the action.yml. If you're still facing issues, could you please share the schema or any additional details that could help us investigate further? We'd be happy to assist.
Description:
Using Action schema with YAML validation I was running a self-documentation test for another action. It noticed and failed validation for the setup-java repo's action.yml because of two invalid "default" field values where a boolean value was set where a string value is expected.
Repro steps:
Your repo.
Expected behavior:
The action.yml should be schema validated.
Actual behavior:
The action.yml is not schema validated.
Opened a PR with the minor changes => #746
The text was updated successfully, but these errors were encountered: