Skip to content

fix(pipeline): Guard against missing installation_id in GitHub install redirect#114363

Merged
evanpurkhiser merged 1 commit intomasterfrom
evanpurkhiser/fix-pipeline-guard-against-missing-installation-id-in-github-install-redirect
Apr 29, 2026
Merged

fix(pipeline): Guard against missing installation_id in GitHub install redirect#114363
evanpurkhiser merged 1 commit intomasterfrom
evanpurkhiser/fix-pipeline-guard-against-missing-installation-id-in-github-install-redirect

Conversation

@evanpurkhiser
Copy link
Copy Markdown
Member

When setup_action=install is present but installation_id is missing, reverse() raises NoReverseMatch since the URL pattern requires a \w+ match. Adds installation_id to the condition check, matching the same guard already present in the trampoline fallback logic.

…l redirect

When setup_action=install is present but installation_id is missing,
reverse() raises NoReverseMatch since the URL pattern requires a \w+
match. Add installation_id to the condition check, matching the same
guard already present in the trampoline fallback logic.
@evanpurkhiser evanpurkhiser requested a review from a team as a code owner April 29, 2026 20:45
@evanpurkhiser evanpurkhiser requested review from iamrajjoshi and oioki and removed request for a team April 29, 2026 20:45
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 29, 2026
@evanpurkhiser evanpurkhiser requested a review from a team April 29, 2026 20:45
@evanpurkhiser evanpurkhiser enabled auto-merge (squash) April 29, 2026 20:45
@evanpurkhiser evanpurkhiser merged commit 93b2fea into master Apr 29, 2026
60 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/fix-pipeline-guard-against-missing-installation-id-in-github-install-redirect branch April 29, 2026 23:13
cleptric pushed a commit that referenced this pull request May 5, 2026
…l redirect (#114363)

When `setup_action=install` is present but `installation_id` is missing,
`reverse()` raises `NoReverseMatch` since the URL pattern requires a
`\w+` match. Adds `installation_id` to the condition check, matching the
same guard already present in the trampoline fallback logic.
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.

2 participants