new git integraton code

This commit is contained in:
Mark Gregory
2026-06-24 16:05:36 +01:00
parent e4b7b8120c
commit 44244ec59e
7 changed files with 263 additions and 3 deletions
@@ -174,6 +174,7 @@ final class GitWebhookIngestionService
return match ($normalisedProvider) {
'github' => in_array($normalisedEvent, ['push', ''], true),
'gitlab' => in_array($normalisedEvent, ['push hook', 'push', ''], true),
'gitea' => in_array($normalisedEvent, ['push', 'push hook', ''], true),
'bitbucket' => in_array($normalisedEvent, ['repo push', 'push', ''], true),
default => in_array($normalisedEvent, ['push', 'repo push', 'push hook', ''], true),
};