Skip to content

Commit f2939d4

Browse files
committed
we should be checking for github_webhook, not github_actions !!!
1 parent 4924476 commit f2939d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/UnidocServer/Operations/Interactions/Unidoc.WebhookOperation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extension Unidoc.WebhookOperation
3434
// when the server restarts and the whitelists are initialized.
3535
if !request.origin.unknown
3636
{
37-
guard case .github_actions? = request.origin.claimant
37+
guard case .github_webhook? = request.origin.claimant
3838
else
3939
{
4040
throw Unidoc.WebhookError.unverifiedOrigin

0 commit comments

Comments
 (0)