Skip to content

Commit

Permalink
Actually ignore integrations in documentation sections (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Sep 25, 2022
1 parent e60c231 commit 6fc4407
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class SetDocumentationSection extends BaseWebhookHandler {

const foundSections = extractDocumentationSectionsLinks((context.payload.issue as Issue).body);

if (foundSections.includes('integration')) {
if (foundSections.includes('integrations')) {
// Don't do anything for integration sections
return;
}
Expand Down
2 changes: 1 addition & 1 deletion services/bots/src/github-webhook/utils/text_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const extractIntegrationDocumentationLinks = (
do {
match = re.exec(body);
if (match) {
results.push({ link: match, integration: match[2] });
results.push({ link: match[0], integration: match[2] });
}
} while (match);

Expand Down

0 comments on commit 6fc4407

Please sign in to comment.