Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Use Accept:application/vnd.github.VERSION.sha to get the latest sha of sentry-api-schema repo #9106

Merged
merged 3 commits into from
Feb 11, 2024

Conversation

ryan953
Copy link
Member

@ryan953 ryan953 commented Feb 11, 2024

This is following up on: #9086 (reverted in #9102)

The reason that initial attempt didn't work isn't clear to me, i think it's because the api response included funky data (sometimes) that would cause two sha's to be returned instead of the one that we expected. I'm not 100% sure exactly, but the logs for failing runs clearly show unexpected things happened like Switched to a new branch 'bot/bump-api-schema-to-' where no sha is suffixed to the branch name.

So this takes a different approach: ask for the sha only, and skip all the rest of the parsing business.

Copy link

vercel bot commented Feb 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 11, 2024 8:27pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
sentry-docs-next ⬜️ Ignored (Inspect) Visit Preview Feb 11, 2024 8:27pm

@ryan953 ryan953 force-pushed the ryan953/fix-bump-api-schema-script-2 branch from 1fc3f6c to c2d80bd Compare February 11, 2024 19:52
@ryan953 ryan953 enabled auto-merge (squash) February 11, 2024 19:57
@ryan953 ryan953 merged commit 85567c8 into master Feb 11, 2024
7 of 9 checks passed
@ryan953 ryan953 deleted the ryan953/fix-bump-api-schema-script-2 branch February 11, 2024 20:09
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant