-
-
Notifications
You must be signed in to change notification settings - Fork 202
Process Issue Templates for DevIndex Opt-In #9237
Copy link
Copy link
Closed
Labels
Description
Description
Implement the automated pipeline to process the two new issue templates in the neomjs/devindex-opt-in repository: "DevIndex Opt-In (Myself)" and "DevIndex Opt-In (Nominate Others)".
Requirements
- Fetch Issues: Query the GitHub GraphQL API to fetch open issues with the
devindex-opt-inlabel. - Differentiate Request Types: Parse the issue title to determine if it's a "Self" request or an "Others" nomination.
- Process "Self" Requests (Identity Verified):
- Extract the issue author's username.
- Blocklist Reversal: Since the identity is verified, remove the user from the blocklist if they are on it.
- Add to
tracker.json(if not already tracked/indexed).
- Process "Nominate Others" Requests (Unverified Identity):
- Extract the list of usernames from the issue body.
- Validate that the usernames exist on GitHub (e.g., via a quick GraphQL
user(login: "...")check). - NO Blocklist Reversal: Crucially, do NOT remove these users from the blocklist. A third party cannot override a personal opt-out.
- Add valid, non-blocklisted users to
tracker.json(if not already tracked/indexed).
- Issue Management: Add an automated comment to the issue summarizing the actions taken and close the issue.
Reactions are currently unavailable