Skip to content

ci: add workflow to auto-bump viam-cpp-sdk#44

Open
Ethan (stuqdog) wants to merge 1 commit into
viam-modules:mainfrom
stuqdog:bump-viam-cpp-sdk-workflow
Open

ci: add workflow to auto-bump viam-cpp-sdk#44
Ethan (stuqdog) wants to merge 1 commit into
viam-modules:mainfrom
stuqdog:bump-viam-cpp-sdk-workflow

Conversation

@stuqdog

Copy link
Copy Markdown

Adds .github/workflows/bump-viam-cpp-sdk.yml — a daily scheduled workflow (plus workflow_dispatch) that opens/updates a PR bumping the viam-cpp-sdk conan pin in conanfile.py whenever a newer SDK release is published on viamrobotics/viam-cpp-sdk.

Why a custom workflow rather than Dependabot: the SDK is pinned via conan, which Dependabot has no ecosystem for.

  • Resolves the latest SDK release and the currently-pinned version; only bumps forward.
  • Rewrites the pin in conanfile.py.
  • Regenerates conan.lock via conan if the repo has one (realsense does; the #recipe-revision hash means a plain text replace is not enough).
  • Opens the PR with the org GIT_ACCESS_TOKEN bot secret (same one viam-python-sdk's update_protos uses) so the bump PR actually triggers CI.

Opened as a draft for review.

🤖 Generated with Claude Code

Adds .github/workflows/bump-viam-cpp-sdk.yml, a daily scheduled workflow that
opens a PR bumping the viam-cpp-sdk conan pin whenever a newer SDK release is
published. Dependabot has no conan ecosystem, so the bump is done explicitly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@stuqdog Ethan (stuqdog) marked this pull request as ready for review June 29, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants