Skip to content

openapi/upload: attach commit, repository, and branch as S3 metadata - #273

Open
reakaleek wants to merge 1 commit into
mainfrom
cursor/696b5aab
Open

openapi/upload: attach commit, repository, and branch as S3 metadata#273
reakaleek wants to merge 1 commit into
mainfrom
cursor/696b5aab

Conversation

@reakaleek

Copy link
Copy Markdown
Member

What

  • Add commit and branch inputs to the OpenAPI upload action
  • Store commit, repository, and branch as S3 object metadata on every uploaded spec

Why

  • Downstream tools need provenance (which commit and branch produced a spec) without parsing the S3 object key
  • The S3 key version segment can differ from the git branch (for example ECE-4.1 maps to 4.1), so branch must be a separate metadata field

Notes

  • Existing workflows need no changes — defaults come from github.sha and github.ref_name
  • Metadata keys: x-amz-meta-commit, x-amz-meta-repository, x-amz-meta-branch

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@reakaleek
reakaleek requested a review from a team as a code owner August 6, 2026 14:43
@reakaleek
reakaleek requested a review from cotti August 6, 2026 14:43
@reakaleek reakaleek added the enhancement New feature or request label Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant