mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-12-22 20:21:06 +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 {
|
||||
// @ts-expect-error types
|
||||
tags = (await import('../../../files/tags.toml')).default;
|
||||
|
||||
requestGithub(
|
||||
`issues/${pullRequestNumber}/labels`,
|
||||
{
|
||||
labels: ['tags']
|
||||
}
|
||||
);
|
||||
} catch(e) {
|
||||
tags = [];
|
||||
errors.push(e.message);
|
||||
|
|
Loading…
Reference in a new issue