Repository navigation
Fixes doc build failure - #5853
Conversation
Greptile SummaryThis PR reverts the addition of
Confidence Score: 5/5Safe to merge — the one-line removal unblocks doc deployments without altering what gets published. The change is a minimal, targeted revert of a single workflow option. The behavior without force_orphan is that peaceiris/actions-gh-pages does a normal incremental push to gh-pages, and with keep_files: false still present the published content will be identical to what force_orphan would have produced. No logic, code paths, or other workflow jobs are affected. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant GH as GitHub Actions
participant Build as build-multi-docs job
participant Deploy as deploy-docs job
participant Pages as gh-pages branch
GH->>Build: "push to main/develop/release/**"
Build->>Build: Build multi-version docs
Build->>GH: Upload docs artifact
GH->>Deploy: trigger (after build-multi-docs)
Deploy->>GH: Download docs artifact
note over Deploy,Pages: Before this PR (force_orphan: true)
Deploy--xPages: Force-push orphan branch blocked by branch rule
note over Deploy,Pages: After this PR (force_orphan removed)
Deploy->>Pages: Normal push allowed by branch rule
Reviews (1): Last reviewed commit: "Fixes doc build failure" | Re-trigger Greptile |
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
PR #5853: Fixes doc build failure
Summary
This PR removes the force_orphan: true option from the peaceiris/actions-gh-pages action in the docs workflow.
Analysis
✅ Change looks good. The force_orphan: true option creates an orphan branch and pushes with --force, which can violate branch protection rules on gh-pages. Removing it allows the action to use a standard push instead.
This is a minimal, targeted fix for the documented issue. The change is low-risk and addresses the doc build deployment failure.
CI Status
Most checks are skipping (expected for a workflow-only change). Core checks like pre-commit, changelog, and broken links are passing.
Automated review by Isaac Lab Review Bot
…nt training fixes from develop (#5855) # Description Cherry pick fixes from the develop branch: - #5805 - #5786 - #5787 - #5793 - #5831 - #5853 - #5841 - #5843 --------- Signed-off-by: sameerchavan0027 <[email protected]> Co-authored-by: Antoine RICHARD <[email protected]> Co-authored-by: hujc <[email protected]> Co-authored-by: sameerchavan0027 <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
# Description The nightly docs deploy on `main` fails at the `Deploy to gh-pages` step because `force_orphan: true` makes `peaceiris/actions-gh-pages` publish an orphan branch with `git push --force`, which the repo's "Block force pushes" branch rule rejects (`GH013`). This removes `force_orphan: true` so the action uses a normal fast-forward push, matching the deploys that currently succeed. This is the same fix @kellyguo11 already applied to `develop` in #5853, which never landed on `main`. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
# Description The nightly docs deploy on `main` fails at the `Deploy to gh-pages` step because `force_orphan: true` makes `peaceiris/actions-gh-pages` publish an orphan branch with `git push --force`, which the repo's "Block force pushes" branch rule rejects (`GH013`). This removes `force_orphan: true` so the action uses a normal fast-forward push, matching the deploys that currently succeed. This is the same fix @kellyguo11 already applied to `develop` in isaac-sim#5853, which never landed on `main`. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
Description
Merge from main introduced a bad change in the doc building job that prevented updates from being pushed to the compiled docs. Reverting
force_orphan: trueas it creates an orphan gh-pages branch and pushes it with --force, which violates the branch rule. Without it, peaceiris/actions-gh-pages should use a normal push.