Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

ci: separate ci and build label rules in automatic labeling

adnan-bhaldar5fd3fff07155
diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml
index 1a416a21..86b5bdfb 100644
--- a/.github/workflows/label-pr.yml
+++ b/.github/workflows/label-pr.yml
@@ -24,7 +24,8 @@ jobs:
[/^feat(\(.+\))?!?:/, 'feature'],
[/^fix(\(.+\))?!?:/, 'bug'],
[/^docs(\(.+\))?!?:/, 'documentation'],
- [/^(ci|build)(\(.+\))?!?:/, 'build'],
+ [/^ci(\(.+\))?!?:/, 'ci'],
+ [/^build(\(.+\))?!?:/, 'build'],
[/^(i18n|l10n)(\(.+\))?!?:/, 'translation'],
];
const labels = rules.filter(([re]) => re.test(title)).map(([, label]) => label);
@@ -35,4 +36,4 @@ jobs:
issue_number: context.payload.pull_request.number,
labels,
});
- }
\ No newline at end of file
+ }