Update most references of vector-im to element-hq (#2231)

Sonarcloud and codecov will follow in a later PR when confirmed working. Changelog ignored as it isn't particularly important with the redirect.
This commit is contained in:
Doug
2023-12-12 14:34:44 +00:00
committed by GitHub
parent c14530d60b
commit 52b8cdad75
22 changed files with 89 additions and 83 deletions

View File

@@ -26,7 +26,7 @@ if editedFiles.count > 0, changelogFiles.isEmpty {
// Check for a ticket number
if let ticketNumberRegex = try? NSRegularExpression(pattern: "#\\d+") {
let missingTicketNumber = !danger.git.commits.filter {
!$0.message.contains("vector-im/element-x-ios/issues/") &&
!$0.message.contains("element-hq/element-x-ios/issues/") &&
ticketNumberRegex.firstMatch(in: $0.message, options: [], range: .init(location: 0, length: $0.message.utf16.count)) == nil
}.isEmpty