Fix broken serve API in python #26496
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/marketplace/actions/require-labels | |
# Check for existence of labels | |
# See all our labels at https://github.com/rerun-io/rerun/issues/labels | |
name: Pull Request Labels | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
- unlabeled | |
# No permissions needed here | |
# permissions: | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for a "do-not-merge" label | |
uses: mheap/github-action-required-labels@v3 | |
with: | |
mode: exactly | |
count: 0 | |
labels: "do-not-merge" | |
- name: Require label "include in changelog" or "exclude from changelog" | |
uses: mheap/github-action-required-labels@v3 | |
with: | |
mode: minimum | |
count: 1 | |
labels: "exclude from changelog, include in changelog" | |
- name: Require at least one label | |
uses: mheap/github-action-required-labels@v3 | |
with: | |
mode: minimum | |
count: 1 | |
labels: "📊 analytics, 🟦 blueprint, 🪳 bug, 🌊 C++ API, CLI, codegen/idl, 🧑💻 dev experience, dependencies, 📖 documentation, 💬 discussion, examples, exclude from changelog, 🪵 Log & send APIs, 📉 performance, 🐍 Python API, ⛃ re_datastore, 🔍 re_query, 📺 re_viewer, 🔺 re_renderer, 🚜 refactor, ⛴ release, 🦀 Rust API, 🔨 testing, ui, 🕸️ web" | |
wasm-bindgen-check: | |
name: Check wasm-bindgen version | |
if: ${{ github.event_name == 'pull_request' }} | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.34.0 | |
- name: Get current wasm-bindgen version | |
id: current-version | |
run: | | |
version=$(pixi run taplo get -f crates/viewer/re_viewer/Cargo.toml "target.*.dependencies.wasm-bindgen") | |
echo "current_version=$version" >> $GITHUB_OUTPUT | |
- name: Get previous wasm-bindgen version | |
id: previous-version | |
run: | | |
prev_ref=$(git rev-parse --abbrev-ref HEAD) | |
git checkout main | |
version=$(pixi run taplo get -f crates/viewer/re_viewer/Cargo.toml "target.*.dependencies.wasm-bindgen") | |
echo "previous_version=$version" >> $GITHUB_OUTPUT | |
git checkout $prev_ref | |
- name: Require label if versions changed | |
if: ${{ steps.current-version.outputs.current_version != steps.previous-version.outputs.previous_version }} | |
uses: mheap/github-action-required-labels@v3 | |
with: | |
mode: exactly | |
count: 1 | |
labels: "wasm-bindgen version update" |