Skip to content

fix(github): Use the GitHub Enterprise host in the permissions update link - #131166

Open
SAY-5 wants to merge 1 commit into
getsentry:masterfrom
SAY-5:fix/ghe-permissions-update-url
Open

SAY-5 wants to merge 1 commit into
getsentry:masterfrom
SAY-5:fix/ghe-permissions-update-url

Conversation

@SAY-5

@SAY-5 SAY-5 commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

For GitHub Enterprise installs the Autofix "Update Permissions" link was always built on github.com, with the whole {host}:{installation id} external id pasted into the path. This takes the host off the external id and builds the link on it, the same way getProviderPermissionsUrl does on the frontend. I don't have a GHE instance to click through, but without the change the new test case returns the exact broken URL from the issue.

Fixes #130899

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

… link

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
@SAY-5
SAY-5 requested a review from a team as a code owner November 14, 2026 01:00
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 14, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autofix PR iteration "update permissions" link points to github.com for GitHub Enterprise installations

1 participant