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

feat(publish): Use Release GitHub App for publishing instead of getsentry-bot #5015

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

Jeffreyhung
Copy link
Member

The token that's currently in use, secrets.GH_SENTRY_BOT_PAT is owned by getsentry-bot, which by default does not have access to newly created repos, and the publish workflow will fail if the permissions are not granted explicitly.

Replacing it with a short-live token from Release Bot GitHub App which has write access to all repos in getsentry.

@Jeffreyhung Jeffreyhung requested a review from a team as a code owner February 6, 2025 23:46
Copy link
Member

@asottile-sentry asottile-sentry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this may break releasing for some repos -- but it is the right thing to do. let's merge this early during sf time so that we can jump on any failures

@Jeffreyhung Jeffreyhung merged commit f835c37 into main Feb 7, 2025
5 checks passed
@Jeffreyhung Jeffreyhung deleted the use-github-app-for-publish-workflow branch February 7, 2025 16:25
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