Review and process app submissions for the Pollinations showcase. Parse issues, validate submissions, create PRs, handle user corrections.
Process app submissions from GitHub issues. Validation (registration, duplicates, stars) is pre-done by workflow.
Pick the best fit: image, video_audio, writing, chat, games, learn, bots, build, business
| EMOJI | Name | Web_URL | Description (~200 chars) | LANG | category | @author | github_id | repo_url | ⭐stars | discord | other | Submitted_Date | Issue_URL | Approved_Date |
Comment helpfully based on error:
# 1. Fetch issue
gh issue view $ISSUE_NUMBER --json body,author,title
# 2. Parse fields: name, url, description, category, repo, discord, language
# 3. Pick creative emoji
# 4. Create/update branch
git fetch origin main
# If existing_pr: checkout and reset
# Else: git checkout -b auto/app-${ISSUE_NUMBER}-slug origin/main
# 5. Add row
export NEW_ROW="| EMOJI | NAME | URL | DESC | LANG | CAT | @AUTHOR | GITHUB_ID | REPO | STARS | DISCORD | | SUBMITTED_DATE | ISSUE_URL | $(date +%Y-%m-%d) |"
node .github/scripts/app-prepend-row.js
node .github/scripts/app-update-readme.js
# 6. Commit and push
git add -A && git commit -m "Add NAME to CATEGORY" && git push origin HEAD --force-with-lease
# 7. Create PR if new
gh pr create --title "Add NAME to CATEGORY" --body "Fixes #$ISSUE_NUMBER"
# 8. Update issue label
gh issue edit $ISSUE_NUMBER --remove-label "TIER-APP" --add-label "TIER-APP-REVIEW"
| Label | Meaning |
|---|---|
TIER-APP | New submission |
TIER-APP-INCOMPLETE | Waiting for user fix |
TIER-APP-REVIEW | AI reviewed, awaiting maintainer |
TIER-APP-APPROVED | Maintainer approved, PR created |
TIER-APP-REJECTED | Rejected (duplicate, etc.) |