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
In Governance.yml file there is a step for model validation action. in its JS file there is a step to validate model file using below command. bamm aspect <<model_file_name>> validate
This can only work if the check out repo contains the model file. But, in-case of PR, repository folder will not have the model file, So, won't it fail in all case?
The text was updated successfully, but these errors were encountered:
richaashara
changed the title
Model validation GitHub action will not work with PR changes if PR is from any fork
Model validation GitHub action will not work with PR changes if PR is from any fork and also if meta model is samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.0.0#>
May 30, 2023
richaashara
changed the title
Model validation GitHub action will not work with PR changes if PR is from any fork and also if meta model is samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.0.0#>
Model validation GitHub action will not work with PR changes if PR is from any fork
May 31, 2023
Hi @richaashara,
thanks for reaching out. As a GitHub action is ran in the context of the branch it is contained in, the validation action should work also for PRs.
you can see this eg in #204
where the validation is running in a pr.
however, what is still under construction is the move to SAMM. For that we have a PR, which also needs to update the CLI used in order to support also SAMM.
Hello Team,
bamm aspect <<model_file_name>> validate
This can only work if the check out repo contains the model file. But, in-case of PR, repository folder will not have the model file, So, won't it fail in all case?
The text was updated successfully, but these errors were encountered: