Skip to content

Commit

Permalink
chore: label invalid issues (#54826)
Browse files Browse the repository at this point in the history
### What?

Follow-up of #54724

### Why?

Marking auto-closed issues so we can easily filter them.

[Slack thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1693321920087959)
  • Loading branch information
balazsorban44 authored Aug 31, 2023
1 parent ac56bca commit c2b3ed9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/issue-validator/repro-link/index.mjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .github/actions/issue-validator/src/repro-link.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ async function run() {
state: 'closed',
})

await client.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
labels: ['invalid link'],
})

// Comment on the issue
await client.issues.createComment({
owner: context.repo.owner,
Expand Down

0 comments on commit c2b3ed9

Please sign in to comment.