Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
rtc_build: ${{ steps.changes.outputs.rtc_build }}
server_sdk_build: ${{ steps.changes.outputs.server_sdk_build }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dorny/paths-filter@v3
id: paths
with:
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/proto.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Generate protobuf stubs

on:
pull_request:
branches:
- main
# If rust-sdks is a git submodule, GitHub sees updates as a change to the
# gitlink at the submodule path (not files under it), so include the bare
# path. If it's checked into the repo normally, the ** pattern will match.
paths:
- 'packages/livekit-rtc/rust-sdks'
- 'packages/livekit-rtc/rust-sdks/**'

jobs:
generate-proto:
name: Regenerate protobuf stubs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.ref }}

- uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 25
cache: pnpm

- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: '25.1'
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: pnpm install

- name: Generate stubs
run: ./generate_proto.sh
working-directory: packages/livekit-rtc

- name: Add changes
uses: EndBug/add-and-commit@v9
with:
add: '["packages/livekit-rtc"]'
default_author: github_actions
message: generated protobuf
2 changes: 1 addition & 1 deletion packages/livekit-rtc/rust-sdks
Submodule rust-sdks updated 406 files
Loading