Skip to content

Commit c2b3ed9

Browse files
chore: label invalid issues (vercel#54826)
### What? Follow-up of vercel#54724 ### Why? Marking auto-closed issues so we can easily filter them. [Slack thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1693321920087959)
1 parent ac56bca commit c2b3ed9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/actions/issue-validator/repro-link/index.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.github/actions/issue-validator/src/repro-link.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ async function run() {
4646
state: 'closed',
4747
})
4848

49+
await client.issues.addLabels({
50+
owner: context.repo.owner,
51+
repo: context.repo.repo,
52+
issue_number: issue.number,
53+
labels: ['invalid link'],
54+
})
55+
4956
// Comment on the issue
5057
await client.issues.createComment({
5158
owner: context.repo.owner,

0 commit comments

Comments
 (0)