-
Notifications
You must be signed in to change notification settings - Fork 36
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
Set up CI to update the model indices #54
Comments
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The initial approach for CI in this repository contained a step that was supposed to update the markdown "index" files automatically when a new model is added. When there was a PR, then this CI step tried to update this PR with an update of the index files. Unfortunately, due to some sudden, unannounced, and apparently undocumented change in GitHub actions, this is no longer possible, and it led do #27.
Therefore, the CI currently therefore only checks the validity of the models and folder structure (but does not do any modifications on its own).
It should, however, be possible (and relatively simple) to create a CI step that is triggered when a pull request is merged, and updates the index files. It would need to
php util/model.php --no-warn --check --update --process-repo --verbose
Considering that this will only run within this repository, by the GitHub bot that belongs to this repository, there should not be any authorization issues with that.
The text was updated successfully, but these errors were encountered: