mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix(ci): Ignore changelog entries in the autolabeller
This commit is contained in:
@@ -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/')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user