Skip to content

[CI] Stop deploying docs and publishing images on develop/release pushes - #5971

Merged
nvsekkin merged 3 commits into
isaac-sim:developfrom
nvsekkin:esekkin/develop-ci-push
Jun 10, 2026
Merged

nvsekkin merged 3 commits into
isaac-sim:developfrom
nvsekkin:esekkin/develop-ci-push

Conversation

@nvsekkin

@nvsekkin nvsekkin commented Jun 4, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • 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
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team infrastructure labels Jun 4, 2026
@nvsekkin
nvsekkin requested a review from myurasov-nv June 4, 2026 17:43

@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

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:

  1. .github/workflows/docs.yaml — The trigger-deploy step 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.
  2. .github/workflows/publish-images.yaml — The push trigger (for main, develop, release/**) is entirely replaced with workflow_dispatch, meaning Docker images are only published on demand or via the nightly cron.
  3. source/isaaclab/changelog.d/esekkin-develop-ci-push.skip — A .skip changelog fragment documenting this is CI-only with no user-facing changes.

Findings

  1. publish-images.yaml also removes the main push trigger. The original workflow fired on pushes to main, develop, and release/**. The new version removes all push triggers including main. If the nightly cron (PR #5970) fully covers this, it's fine — but if there's ever a hotfix pushed to main that needs immediate image publishing, it will need a manual workflow_dispatch. This seems intentional per the description but worth confirming.

  2. docs.yaml still lists develop in the push.branches trigger (lines not shown in diff), which means pushes to develop still trigger the workflow — they just skip the deploy step due to the updated if condition. 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.

  3. No issues with the changelog fragment. The .skip extension 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-apps

greptile-apps Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes the expensive multi-version docs deployment and Docker image publishing from push events on develop and release/*, routing them instead through a nightly cron registered on main (via PR #5970) and on-demand workflow_dispatch.

  • docs.yaml: The trigger-deploy condition is narrowed from branch-name matching (main || develop || release/*) to event-type matching (schedule || workflow_dispatch). Since schedule and workflow_dispatch are not in this file's on: section, this effectively disables all push-triggered deployment on every branch — including main — not just develop/release. This is intentional per the comments but not reflected in the PR title.
  • publish-images.yaml: All push triggers are removed; only workflow_dispatch remains, making image publishing fully on-demand. The branch-specific tagging logic (develop, main, release/*) is preserved but is now only reachable via manual dispatch or an external nightly cron call.
  • changelog.d: A .skip file is added to exclude this CI-only change from user-facing changelogs.

Confidence Score: 3/5

Safe 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 schedule or workflow_dispatch events, yet neither is listed in the on: section. This means build-multi-docs and deploy-docs are permanently unreachable through this file on any branch. For develop that is intentional and harmless; the risk is that if these changes are later merged to main without first landing #5970's schedule trigger, docs deployment silently stops with no error surfaced. publish-images.yaml is straightforward and correct for its stated on-demand purpose.

.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

Filename Overview
.github/workflows/docs.yaml trigger-deploy condition switched to schedule/workflow_dispatch, but those events are not registered in the on: section — deploy jobs are permanently disabled on this branch, and reaching main without coordinating with #5970 would silently stop all docs deployment including on main-branch pushes
.github/workflows/publish-images.yaml Push triggers removed; workflow_dispatch only — images are now purely on-demand; tagging logic for develop/main/release branches is preserved and remains correct when dispatched
source/isaaclab/changelog.d/esekkin-develop-ci-push.skip Changelog skip file added correctly for a CI-only change with no user-visible impact

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
Loading

Reviews (1): Last reviewed commit: "Remove push triggers" | Re-trigger Greptile

Comment thread .github/workflows/docs.yaml Resolved
# 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:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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') }}"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

skip all but scheduled or manual triggers

name: Publish Docker Images

on:
push:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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")

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

match the full SHA on manual trigger, same as scheduled runs from main

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

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants