Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Only allow open source contributors to `.take` good first issues (#33492)

Przemyslaw Wysocki95300df035dc
diff --git a/.github/workflows/assign_issue.yml b/.github/workflows/assign_issue.yml
index 22a606cae72..1b5fe2714e0 100644
--- a/.github/workflows/assign_issue.yml
+++ b/.github/workflows/assign_issue.yml
@@ -86,6 +86,10 @@ jobs:
const user = context.payload.comment.user.login;
if (comment === ".take") {
+ if (!issue.labels?.some(l => l.name.toLowerCase() === LABEL)) {
+ console.log(`Issue #${issue.number} - not a good first issue, ignoring .take command`);
+ return;
+ }
await github.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,