-
Notifications
You must be signed in to change notification settings - Fork 137
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
CI: check if docs need to be regenerated #362
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Integralist
force-pushed
the
integralist/20210201_docs_ci
branch
from
February 2, 2021 12:31
c7890ed
to
e0b0a82
Compare
Integralist
force-pushed
the
integralist/20210201_docs_ci
branch
from
February 3, 2021 13:50
abfff99
to
6647eba
Compare
Integralist
force-pushed
the
integralist/20210201_docs_ci
branch
from
February 3, 2021 14:03
2994ea8
to
8c0d9c7
Compare
Integralist
force-pushed
the
integralist/20210201_docs_ci
branch
from
February 3, 2021 14:15
0a59406
to
b1be7c3
Compare
Integralist
requested review from
phamann,
a team and
kailan
and removed request for
a team
February 3, 2021 14:41
Integralist
requested review from
a team and
doramatadora
and removed request for
a team
February 3, 2021 14:46
@doramatadora @phamann ready for review. |
phamann
approved these changes
Feb 4, 2021
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.
👍🏻 LGTM - my comment is just for curiosity and not blocking.
doramatadora
approved these changes
Feb 4, 2021
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.
LGTM 🚀
Integralist
changed the title
Check if docs need to be regenerated
CI: check if docs need to be regenerated
Feb 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If a change is made to a schema
Description
field and a PR is opened, then we would like to be able to identify to the author of the PR that the documentation needs to be regenerated (e.g. by runningmake generate-docs
).The solution is to have a Github workflow which runs the relevant Makefile target and then runs
git diff
to see if there's any changes to what's in the main branch. If there are changes, it means new documentation files were generated in CI and so the author of the PR should run the relevant Makefile target locally and commit those changes.