hubcio commented on code in PR #3400:
URL: https://github.com/apache/iggy/pull/3400#discussion_r3333888348


##########
.github/workflows/issue-labeler-assigner.yml:
##########
@@ -103,3 +112,32 @@ jobs:
               issue_number: context.payload.issue.number,
               labels,
             });
+
+      - name: Assign author who volunteered to contribute
+        uses: actions/github-script@v9
+        with:
+          script: |
+            // The "Contribution" checkbox in both issue forms renders as a
+            // task-list line. Checked, it reads `- [x] I'm willing to submit a
+            // pull request ...`; the tail differs per template (bug: "to fix
+            // this bug", feature: "to implement this feature"), so match the
+            // shared prefix only.
+            const body = context.payload.issue.body || '';
+            const volunteered =
+              /(^|\n)\s*-\s*\[[xX]\]\s+I'm willing to submit a pull 
request/.test(body);

Review Comment:
   not sure about that. lets discuss that on discord. there are issues that are 
deliberately not done in months because we don't want them to be done YET.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to