Skip to content

Fixes doc build failure - #5853

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:fix-doc
May 29, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:fix-doc

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

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: true as 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.

@kellyguo11
kellyguo11 requested a review from hhansen-bdai as a code owner May 29, 2026 01:09
@github-actions github-actions Bot added bug Something isn't working infrastructure labels May 29, 2026
@greptile-apps

greptile-apps Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR reverts the addition of force_orphan: true in the peaceiris/actions-gh-pages deployment step, which was introduced via a merge from main and caused doc deployments to fail because force-pushing an orphan branch to gh-pages violated the repository's branch protection rules.

  • Removed force_orphan: true: Without this flag, the action performs a standard push to the gh-pages branch rather than creating a fresh orphan branch with --force, restoring compatibility with branch protection rules.
  • keep_files: false remains: Existing files on gh-pages are still cleared on each deploy — the only behavioral difference is the push strategy, not the content outcome.

Confidence Score: 5/5

Safe 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

Filename Overview
.github/workflows/docs.yaml Removes force_orphan: true from the peaceiris/actions-gh-pages deploy step; the action will now do a normal push to gh-pages instead of an orphan force-push that was blocked by branch protection rules.

Sequence Diagram

sequenceDiagram
    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
Loading

Reviews (1): Last reviewed commit: "Fixes doc build failure" | Re-trigger Greptile

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 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

@kellyguo11
kellyguo11 merged commit 307bb0d into isaac-sim:develop May 29, 2026
37 checks passed
kellyguo11 added a commit that referenced this pull request May 29, 2026
…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>
ooctipus pushed a commit that referenced this pull request Jun 11, 2026
# 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
Du-322 pushed a commit to StanleyChueh/IsaacLab that referenced this pull request Aug 11, 2026
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant