You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`No user match found for [${username}] after checking against [${usersCount}] Slack ${(0,src.plural)('user', usersCount)}`);
81862
+
// Redacted version
81863
+
console.log(`Redacted debug info: No user match found for [${redact(username ?? '')}] after checking against [${usersCount}] Slack ${(0,src.plural)('user', usersCount)}`);
(0,core.debug)(`WARNING: Custom mappings for GitHub username [${username}] were defined but no matching Slack users were found:`);
81869
+
(0,core.debug)(`Redacted debug info: WARNING: Custom mappings for GitHub username [${redact(username)}] were defined but no matching Slack users were found:`);
81812
81870
// Show each mapping that failed
81813
81871
matchingMappings.forEach((mapping) => {
81814
81872
(0,core.debug)(` - Mapped to Slack username [${mapping.slackUsername}] but no Slack user with this name/display_name/real_name was found`);
81873
+
(0,core.debug)(` - Redacted debug info: Mapped to Slack username [${redact(mapping.slackUsername)}] but no Slack user with this name/display_name/real_name was found`);
81815
81874
});
81816
81875
(0,core.debug)(`Attempted to fall back to standard matching methods`);
81817
81876
}
81818
81877
}
81819
81878
// Log standard matchers that were tried
81820
-
if (userId)
81879
+
if (userId) {
81821
81880
(0,core.debug)(`Tried to match userId [${userId}] against Slack user.id fields`);
81822
-
if (email)
81881
+
(0,core.debug)(`Redacted debug info: Tried to match userId [${redact(userId)}] against Slack user.id fields`);
81882
+
}
81883
+
if (email) {
81823
81884
(0,core.debug)(`Tried to match email [${email}] against Slack user.profile.email fields`);
81824
-
if (username)
81885
+
(0,core.debug)(`Redacted debug info: Tried to match email [${redact(email)}] against Slack user.profile.email fields`);
81886
+
}
81887
+
if (username) {
81825
81888
(0,core.debug)(`Tried to match username [${username}] against Slack user.profile.email (contains), display_name and real_name fields`);
81889
+
(0,core.debug)(`Redacted debug info: Tried to match username [${redact(username)}] against Slack user.profile.email (contains), display_name and real_name fields`);
81890
+
}
81826
81891
(0,core.debug)(`Since no Slack user match found, unable to @mention user or use their profile image`);
0 commit comments