Skip to content

Commit

Permalink
Updated workflow of auto label issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Anjaliavv51 committed Jul 31, 2024
1 parent cb4a43e commit fd80c34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto-label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

0 comments on commit fd80c34

Please sign in to comment.