mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 00:35:30 +01:00
Fix chore label assignment logic in PR bot workflow
This commit is contained in:
parent
0870d42eae
commit
852eb0ef36
1 changed files with 1 additions and 1 deletions
2
.github/workflows/pr-bot.yml
vendored
2
.github/workflows/pr-bot.yml
vendored
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
labels.push('bug');
|
labels.push('bug');
|
||||||
} else if (/^feature/i.test(title)) {
|
} else if (/^feature/i.test(title)) {
|
||||||
labels.push('enhancement');
|
labels.push('enhancement');
|
||||||
} else if (!/^(dependabot)/i.test(title) && /^(chore)/i.test(title)) {
|
} else if (!/^(dependabot)/i.test(title) && !/^(chore)/i.test(title)) {
|
||||||
labels.push('enhancement'); // Default fallback
|
labels.push('enhancement'); // Default fallback
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue