Skip to content

Add UI toggle for LiDAR point visualization #17837

Add UI toggle for LiDAR point visualization

Add UI toggle for LiDAR point visualization #17837

Workflow file for this run

# Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md).
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
name: Changelog Fragment Check
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
base_ref:
description: 'Base branch to diff against (defaults to the repository default branch)'
required: false
concurrency:
group: changelog-check-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
check-fragments:
name: Check changelog fragments
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
# Full history needed to diff against the base branch
fetch-depth: 0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
# No `cache: pip` here: the pytest install below is conditional on the
# PR touching tools/changelog/, so on most runs pip never executes and
# ~/.cache/pip is never created. setup-python's post-job save treats a
# missing cache dir as an error and fails the job.
- name: Resolve base ref
id: base
run: echo "ref=${{ github.event.inputs.base_ref || github.base_ref || github.event.repository.default_branch }}" >> "$GITHUB_OUTPUT"
- name: Fetch base branch
run: git fetch origin ${{ steps.base.outputs.ref }}
- name: Verify changelog fragments
run: python3 tools/changelog/cli.py check FETCH_HEAD
# The unit tests run the real uv and towncrier (via uvx), as the nightly compile does.
- uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
with:
# Keep equal to the uv in docker/Dockerfile.*.
version: "0.12.9"
- name: Run changelog tool unit tests
# Gates tools/changelog/cli.py itself: regression tests for the
# fragment rules, the lock pins, the legacy split, and cmd_check /
# cmd_compile orchestration. Without this, a cli.py
# refactor could silently break the gate above.
#
# Skipped when the PR doesn't touch tools/changelog/ — fragment-only
# PRs are already covered by the content gate above, so paying for a
# pytest install + run on every PR is wasted.
run: |
if ! git diff --name-only FETCH_HEAD...HEAD | grep -qE '^tools/changelog/'; then
echo "PR does not touch tools/changelog/ — skipping unit tests."
exit 0
fi
bash "$GITHUB_WORKSPACE/.github/actions/_lib/with-python-package-retries.sh" pip install pytest
python3 -m pytest tools/changelog/test/ -q