mirror of
https://github.com/mleem97/gregWiki.git
synced 2026-04-11 03:29:19 +02:00
1.6 KiB
1.6 KiB
Sponsorship Automation
This document describes the standard automation flow for GregFramework sponsorship tiers.
Goal
Keep sponsor tier data synchronized and use it as a source of truth for:
- Discord role sync
- private/VIP channel access
- website and wiki placements
- Mod Store footer sponsor block
- in-repo sponsor pages and credits
Repository Workflow
Each repository contains .github/workflows/sponsor-tier-sync.yml.
The workflow:
- runs hourly (and on manual trigger),
- queries active GitHub Sponsors,
- exports normalized data to
sponsors/sponsors.json, - commits changes automatically when sponsor data changes.
Required Secret
Add this repository secret:
SPONSORS_READ_TOKEN: GitHub PAT with access to read sponsor relationships.
Without this secret, the workflow still completes but exports an empty snapshot.
Tier Mapping
Use this mapping in downstream systems:
$1->coffee_supporter$5->bronze_backer$15->silver_tester$25->gold_developer$50+->ecosystem_architect
VIP Operational Rules
For $50+ sponsors:
- assign top sponsor placement (Wiki front page + Mod Store footer)
- create/maintain private 1-on-1 Discord lounge
- offer featured mod spotlight
Example Consumer Script (Discord/Wiki Sync)
Use sponsors/sponsors.json as input and run a separate scheduled job (bot or CI worker) that:
- maps each sponsor to a tier role,
- grants/revokes Discord roles,
- maintains VIP private channels,
- updates website/wiki data endpoints.
First Verified VIP
Current VIP sponsor:
- @tobiasreichel –
ecosystem_architect($50/month)