Skip to content
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

fix: render docs on PR after tests #470

Merged
merged 17 commits into from
Aug 20, 2024
Merged

fix: render docs on PR after tests #470

merged 17 commits into from
Aug 20, 2024

Conversation

jmbuhr
Copy link
Collaborator

@jmbuhr jmbuhr commented Aug 19, 2024

Got a bit of a dilemma. I would like to require status checks (like our test CI) to be up-do-date before merging.
And we also want the documentation to be up-to-date and rendered.
But
a) rendering the docs from gh actions creates a commit, making the commit on which the tests ran no longer the latest...
b) rendering the docs on main, triggered by a release, also doesn't work because we want changes to main to go through a PR:

image

image

Solution: all PR's are now drafts by default. Mark as "ready to review" to run tests. Convert back to draft when iterating (top right in the Reviewers box). Add the "docthis" label while it is still a draft to render docs.

@jmbuhr jmbuhr added testthis and removed testthis labels Aug 19, 2024
@jmbuhr jmbuhr added testthis and removed testthis labels Aug 20, 2024
@jmbuhr jmbuhr added testthis and removed testthis labels Aug 20, 2024
@jmbuhr jmbuhr added docthis and removed testthis labels Aug 20, 2024
@jmbuhr jmbuhr removed the docthis label Aug 20, 2024
@jmbuhr jmbuhr marked this pull request as draft August 20, 2024 11:16
@jmbuhr jmbuhr added docthis and removed testthis labels Aug 20, 2024
@jmbuhr jmbuhr marked this pull request as ready for review August 20, 2024 11:55
@jmbuhr jmbuhr marked this pull request as draft August 20, 2024 12:08
@jmbuhr jmbuhr marked this pull request as ready for review August 20, 2024 12:08
@jmbuhr jmbuhr merged commit 166f4d0 into main Aug 20, 2024
2 checks passed
@jmbuhr jmbuhr deleted the ci branch August 20, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant