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 {
// @ts-expect-error types
tags = (await import('../../../files/tags.toml')).default;
requestGithub(
`issues/${pullRequestNumber}/labels`,
{
labels: ['tags']
}
);
} catch(e) {
tags = [];
errors.push(e.message);