mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-22 14:41:05 +01:00
chore(validateTags): add tags label
This commit is contained in:
parent
c85205b988
commit
ae2fc0d73b
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue