Skip to content

Fix docs checkouts on cross-repo Pull Requests#15116

Closed
PeterJCLaw wants to merge 2 commits intodagster-io:masterfrom
PeterJCLaw:fix-docs-ci-external-prs
Closed

Fix docs checkouts on cross-repo Pull Requests#15116
PeterJCLaw wants to merge 2 commits intodagster-io:masterfrom
PeterJCLaw:fix-docs-ci-external-prs

Conversation

@PeterJCLaw
Copy link
Contributor

@PeterJCLaw PeterJCLaw commented Jul 5, 2023

Summary & Motivation

Currently docs builds on PRs from external contributors have failing CI (such as https://github.com/dagster-io/dagster/actions/runs/5469013560/jobs/9957403116). This appears to be due to the way that the pull request is checked out, specifically this appears to have broken in #13796.

Also included here is a small change to ensure that the docs are rebuilt when the build logic changes (as well as when the docs themselves change).

I realise that CI still fails for external docs PRs due to the lack of secrets, however that's something harder for an external contributor to resolve. (I had a quick look to see if there were any other build jobs which should be running, but couldn't see any).

Alternatively, perhaps the CI job should be configured to skip itself for external PRs?

How I Tested These Changes

This CI run.

Thus ensuring that changes to the build logic are suitably tested
in CI and result in rebuilds when merged.
@PeterJCLaw PeterJCLaw force-pushed the fix-docs-ci-external-prs branch 6 times, most recently from eea0526 to 7511e32 Compare July 5, 2023 22:02
@PeterJCLaw PeterJCLaw marked this pull request as ready for review July 5, 2023 22:02
@PeterJCLaw PeterJCLaw changed the title Fix docs builds on cross-repo Pull Requests Fix docs checkouts on cross-repo Pull Requests Jul 5, 2023
Such as those made by external contributors.
@PeterJCLaw PeterJCLaw force-pushed the fix-docs-ci-external-prs branch from 7511e32 to bcdc499 Compare July 5, 2023 22:04
@tacastillo
Copy link
Contributor

@prha Would you be the right person to ask to take a look at this?

@jamiedemaria jamiedemaria requested a review from prha July 7, 2023 18:34
@cmpadden
Copy link
Contributor

Closing due to inactivity; please re-open if necessary, thank you.

@cmpadden cmpadden closed this Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants