Add spec_update workflow for automated API spec updates#591
Merged
Conversation
Add a GitHub Actions workflow that updates the dropbox-api-spec submodule, regenerates Java SDK code via Gradle, and opens a PR. Uses OIDC + GitHub App token via AWS Secrets Manager, closes superseded PRs, and labels for tracking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
joshafeinberg
approved these changes
Jul 21, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
spec_update.ymlGitHub Actions workflow matching the pattern used across other Dropbox SDKssdk-updater-github-app) via AWS Secrets Managercore/src/main/stonesubmodule to latest, then runs./gradlew :core:generateStoneto regenerate codeautomated-spec-updatelabel for filtering/trackingworkflow_dispatchorrepository_dispatch(type:spec_update)Notes
./update-submodulesfirst to init all submodules (includingcore/stone), thengit submodule update --remote core/src/main/stoneto pull the latest specoidc-github-dropbox-dropbox-sdk-java-reponeeds to be created (the existingoidc-github-dropbox-dropbox-sdk-java-branch-mainis scoped to the main branch only)dropbox-sdk-javarepo also needs to be added to thedispatch_spec_update.ymlmatrix indropbox-api-specTest plan
sdk-updater-github-appworkflow_dispatchand confirm generation succeeds🤖 Generated with Claude Code