chore(validateTags): add tags label

This commit is contained in:
xHyroM 2022-07-16 15:58:55 +02:00
parent c85205b988
commit ae2fc0d73b

View file

@ -18,6 +18,13 @@ let tags;
try { try {
// @ts-expect-error types // @ts-expect-error types
tags = (await import('../../../files/tags.toml')).default; tags = (await import('../../../files/tags.toml')).default;
requestGithub(
`issues/${pullRequestNumber}/labels`,
{
labels: ['tags']
}
);
} catch(e) { } catch(e) {
tags = []; tags = [];
errors.push(e.message); errors.push(e.message);