mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
Add Platform Gitea (#1884)
This commit is contained in:
1 parent
c5683ca6a3
commit
722ce8213a
4 files changed
+63
No files matched your search
@@ -482,6 +482,8 @@ func platformFromHost(u *url.URL) scm.Platform {
|
||||
return scm.GitLabPlatform
|
||||
case "dev.azure.com", "visualstudio.com":
|
||||
return scm.AzureDevOpsPlatform
|
||||
case "gitea.com", "code.forgejo.org", "codeberg.org":
|
||||
return scm.GiteaPlatform
|
||||
default:
|
||||
return scm.UnknownPlatform
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user