Add spec_update workflow for automated API spec updates#463
Merged
Conversation
Add a GitHub Actions workflow that updates the spec and stone submodules, regenerates Swift SDK code, 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>
cguldner
enabled auto-merge (squash)
July 21, 2026 20:32
aaronsky
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 Managerspecandstonesubmodules to latest, then runspython generate_base_client.pyto regenerate Swift types and clientsautomated-spec-updatelabel for filtering/trackingworkflow_dispatchorrepository_dispatch(type:spec_update)Prerequisites
oidc-github-dropbox-swiftydropbox-reponeeds to be created with access tosdk-updater-github-appSwiftyDropboxto the dispatch matrix indropbox-api-spec'sdispatch_spec_update.ymlTest plan
workflow_dispatchand confirm generation succeeds🤖 Generated with Claude Code