Repository navigation
[CI] Stop deploying docs and publishing images on develop/release pushes - #5971
Conversation
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
Summary
This PR removes push-triggered multi-version docs deployment and Docker image publishing from the develop and release/* branches. Both expensive operations are now owned by the nightly cron registered on main (see #5970). Per-push/PR validation (current-docs build) is preserved.
Changes:
.github/workflows/docs.yaml— Thetrigger-deploystep condition is changed from matching branch names (main,develop,release/) to matching event names (schedule,workflow_dispatch). Since scheduled/dispatch events only fire on the default branch (main), develop/release pushes will never trigger the multi-version deploy. Current-docs build still runs for all pushes and PRs..github/workflows/publish-images.yaml— Thepushtrigger (formain,develop,release/**) is entirely replaced withworkflow_dispatch, meaning Docker images are only published on demand or via the nightly cron.source/isaaclab/changelog.d/esekkin-develop-ci-push.skip— A.skipchangelog fragment documenting this is CI-only with no user-facing changes.
Findings
-
publish-images.yamlalso removes themainpush trigger. The original workflow fired on pushes tomain,develop, andrelease/**. The new version removes all push triggers includingmain. If the nightly cron (PR #5970) fully covers this, it's fine — but if there's ever a hotfix pushed tomainthat needs immediate image publishing, it will need a manualworkflow_dispatch. This seems intentional per the description but worth confirming. -
docs.yamlstill listsdevelopin thepush.branchestrigger (lines not shown in diff), which means pushes todevelopstill trigger the workflow — they just skip the deploy step due to the updatedifcondition. This is correct behavior (current-docs validation still runs) but the top-level comment added could be slightly clearer that the push trigger is intentionally retained for the build-only path. -
No issues with the changelog fragment. The
.skipextension correctly signals towncrier to skip this entry in user-facing changelogs.
Verdict
No issues found — clean, well-scoped CI change. The logic is sound: schedule/workflow_dispatch events only fire on the default branch, so the condition change effectively gates deploy to nightly-only. Minor observation #1 above is worth a quick confirmation but is not a blocker.
Update (commit 4924e4a): Previous inline concern addressed. The schedule (nightly cron at 3:00 UTC) and workflow_dispatch triggers have been added to the on: block of docs.yaml, resolving the fragility issue where deploy jobs could never fire. Additionally, publish-images.yaml now uses --password-stdin for the NGC Docker login instead of passing credentials on the command line — a good security hardening. No new issues introduced.
Update (8c627ef): Nightly cron moved from 3:00→2:00 UTC in docs.yaml. Immutable Docker image tags now use the full commit SHA (e.g. latest-develop-<full-sha>) instead of the previous <run#>-<sha8> suffix — this aligns with the nightly cron's tagging on main. Changelog fragment updated accordingly. No new issues introduced; all changes are clean refinements.
Greptile SummaryThis PR removes the expensive multi-version docs deployment and Docker image publishing from push events on
Confidence Score: 3/5Safe to merge to develop as-is, but the resulting docs.yaml disables all push-based docs deployment on every branch including main, and the replacement nightly-cron path is not wired up in this file — a hard dependency on #5970 reaching main before or alongside this change. The workflow logic in docs.yaml gates the multi-version deploy on .github/workflows/docs.yaml — verify the merge order with #5970 so main's docs.yaml ends up with both the schedule trigger and this updated condition. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A([push / pull_request]) --> B[doc-build-type job]
B --> C{trigger-deploy\nevent_name == schedule\nor workflow_dispatch?}
C -- "false (always on develop/release/feature/PR)" --> D[build-latest-docs\ncurrent docs only]
C -- "true (only from main nightly cron via #5970)" --> E[build-multi-docs\nmulti-version]
E --> F[deploy-docs\ngh-pages]
D --> G([artifact: docs-html])
F --> H([gh-pages updated])
subgraph publish-images.yaml
I([workflow_dispatch only]) --> J{branch?}
J -- develop --> K["tag: latest-develop\nlatest-develop-#-sha"]
J -- main --> L["tag: latest\nv<VERSION>"]
J -- "release/*" --> M["tag: latest-release-X\nlatest-release-X-#-sha"]
J -- other --> N([exit 0 — skip])
end
Reviews (1): Last reviewed commit: "Remove push triggers" | Re-trigger Greptile |
| # Pushes and PRs still build current-docs (build-latest-docs). The expensive | ||
| # multi-version deploy is owned by the nightly cron (registered on main); see | ||
| # the trigger-deploy gate below — develop / release pushes no longer deploy here. | ||
| push: |
There was a problem hiding this comment.
keeping this for current-docs trigger
| # Nightly multi-version rebuild + deploy from develop tip. Picks up every | ||
| # develop commit accumulated since the previous nightly in a single run. | ||
| schedule: | ||
| - cron: '0 2 * * *' # 6pm PST / 7pm PDT |
There was a problem hiding this comment.
this is a no-op keeping here to match the file on main
| # schedule / workflow_dispatch only fire from the default branch (main), so on | ||
| # this branch these are always false: develop / release / feature pushes and PRs | ||
| # build current-docs only and never deploy here. | ||
| if: "${{ github.repository == env.REPO_NAME && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}" |
There was a problem hiding this comment.
skip all but scheduled or manual triggers
| name: Publish Docker Images | ||
|
|
||
| on: | ||
| push: |
There was a problem hiding this comment.
skip push commit trigger on images
| develop) | ||
| TAGS+=("$IMAGE:latest-develop") | ||
| TAGS+=("$IMAGE:latest-develop-${{ github.run_number }}-${SHA:0:8}") | ||
| TAGS+=("$IMAGE:latest-develop-$SHA") |
There was a problem hiding this comment.
match the full SHA on manual trigger, same as scheduled runs from main
…5970) # Description !!merge #5970 first then #5971!! Defer the multi-version sphinx-multiversion docs build off every push and onto a nightly schedule from develop. Defer develop Docker builds to nightly schedule. ## 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` - [x] 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
…hes (isaac-sim#5971) # Description !!merge isaac-sim#5970 first then isaac-sim#5971!! Push events to `develop` / `release/*` no longer run the expensive multi-version docs deploy or publish Docker images. Both are now owned by the nightly cron registered on `main` (isaac-sim#5970). This eliminates redundant, resource-heavy work on every integration push while preserving fast per-push/PR validation. ## 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` - [x] 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
…saac-sim#5970) # Description !!merge isaac-sim#5970 first then isaac-sim#5971!! Defer the multi-version sphinx-multiversion docs build off every push and onto a nightly schedule from develop. Defer develop Docker builds to nightly schedule. ## 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` - [x] 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 #5970 first then #5971!!
Push events to
develop/release/*no longer run the expensive multi-version docs deploy or publish Docker images.Both are now owned by the nightly cron registered on
main(#5970). This eliminates redundant, resource-heavy work on every integration push while preserving fast per-push/PR validation.Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there