Skip to content

Commit

Permalink
chore: label invalid issues
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Aug 31, 2023
1 parent ac56bca commit cd953a1
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 cd953a1

Please sign in to comment.