fix(ci): Ignore changelog entries in the autolabeller

This commit is contained in:
Jade Ellis
2026-05-19 10:57:39 +01:00
parent 14c1d37b47
commit b4e104925d
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
const labelsToAdd = new Set(); const labelsToAdd = new Set();
for (const file of fileNames) { for (const file of fileNames) {
if (file.startsWith('docs/') || file.startsWith('theme/') || file.endsWith('.md') || file == 'rspress.config.ts') { if (file.startsWith('docs/') || file.startsWith('theme/') || (file.endsWith('.md') && !file.startsWith('changelog.d/')) || file == 'rspress.config.ts') {
labelsToAdd.add('Documentation'); labelsToAdd.add('Documentation');
} }
if (file.startsWith('.forgejo/')) { if (file.startsWith('.forgejo/')) {