From fd80c3423dd065c0dbf3b60421444ec73f9c0c24 Mon Sep 17 00:00:00 2001 From: Anjaliavv51 <154777864+Anjaliavv51@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:44:41 +0530 Subject: [PATCH] Updated workflow of auto label issue #1071 --- .github/workflows/auto-label-issues.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-label-issues.yml b/.github/workflows/auto-label-issues.yml index 73a20d7b..15ac430e 100644 --- a/.github/workflows/auto-label-issues.yml +++ b/.github/workflows/auto-label-issues.yml @@ -34,14 +34,14 @@ jobs: labels: [label] }); }; - if (issueBody.includes('documentation') || issueTitle.includes('doc') || issueBody.includes('readme')) { + if (issueTitle.includes('documentation')) { await addLabel('documentation'); } - if (issueBody.includes('feature') || issueBody.includes('enhancement') || issueTitle.includes('add') || issueTitle.includes('implement')) { + if (issueTitle.includes('feature')) { await addLabel('enhancement'); } - if (issueBody.includes('bug') || issueBody.includes('fix') || issueTitle.includes('fix') || issueTitle.includes('resolve')) { + if (issueTitle.includes('bug')) { await addLabel('bug'); } \ No newline at end of file