-
Notifications
You must be signed in to change notification settings - Fork 275
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
Create action workflow to get latest docs changes from openzeppelin-foundry-upgrades #1129
Conversation
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@nomicfoundation/[email protected], npm/@openzeppelin/[email protected], npm/@openzeppelin/[email protected], npm/@openzeppelin/[email protected], npm/@openzeppelin/[email protected], npm/@openzeppelin/[email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment, thanks!
Co-authored-by: Eric Lau <[email protected]>
The workflow if trigger externally from
openzeppelin-foundry-upgrades
CI if changes were detected to the docs.It updates the submodule, re-genrate the documentation, if changes are confirmed on the generated documentation creates a new branch, commit and push the changes then a pull request is open from this branch to the main branch (it creating the pull request fails the created branch is deleted).
Additionally the checking difference during preparing (copying) the docs from the submodule to the root got decoupled so that having differences does not fail the CI as the changes will be committed in the pull request.